You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
2.0 KiB

8 months ago
package com.ruoyi.tc.mapper;
8 months ago
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
8 months ago
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
7 months ago
import com.ruoyi.tc.entity.AssetTask;
8 months ago
import com.ruoyi.tc.entity.Unit;
import com.ruoyi.tc.entity.request.GeneralQueryRequest;
8 months ago
import com.ruoyi.tc.entity.request.UnitRequest;
8 months ago
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* unit_info
* @author du
* @since 2024/11/13 15:04
*/
public interface UnitMapper extends BaseMapper<Unit> {
/**
*
*
* @param a
* @return
*/
List<Unit> selectUnitList(@Param("req") UnitRequest a);
8 months ago
/**
*
*
* @param unit
* @return
*/
Page<Unit> selectUnitList(Page<Unit> page, @Param("req") UnitRequest unit);
/**
* id
*/
8 months ago
List<String> selectByIds(Long id);
8 months ago
/**
*
*/
8 months ago
void deleteUnits(Long id);
/**
8 months ago
*
*/
8 months ago
void deleteUsers(@Param("userNames") String userNames);
8 months ago
/**
* id
*/
Unit getById(Long id);
/**
*
*
* @param unit
* @return
*/
Page<Unit> dwList(Page<Unit> page, @Param("req") UnitRequest unit);
/**
*
*
* @param req
* @return
*/
List<Unit> selectAllUnit(@Param("req") GeneralQueryRequest req);
7 months ago
/**
*
*
* @param part
* @return
*/
Integer findBydwmc(@Param("part") String part);
7 months ago
/**
* 5
*/
Integer selectTaskId(@Param("dwmc") String dwmc,@Param("type") String type);
8 months ago
}