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.
|
|
|
|
package com.ruoyi.tc.mapper;
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
|
|
|
|
|
|
|
import com.ruoyi.tc.entity.Unit;
|
|
|
|
|
import com.ruoyi.tc.entity.request.UnitRequest;
|
|
|
|
|
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);
|
|
|
|
|
/**
|
|
|
|
|
* 分页条件查询所有单位列表
|
|
|
|
|
*
|
|
|
|
|
* @param unit 用户信息
|
|
|
|
|
* @return 用户信息集合信息
|
|
|
|
|
*/
|
|
|
|
|
Page<Unit> selectUnitList(Page<Unit> page, @Param("req") UnitRequest unit);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据id列表查询单位
|
|
|
|
|
*/
|
|
|
|
|
List<String> selectByIds(Long id);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 逻辑删除单位
|
|
|
|
|
*/
|
|
|
|
|
void deleteUnits(Long id);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 逻辑删除用户
|
|
|
|
|
*/
|
|
|
|
|
void deleteUsers(List<String> userNames);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据id获取详细信息
|
|
|
|
|
*/
|
|
|
|
|
Unit getById(Long id);
|
|
|
|
|
}
|