package org.jeecg.modules.system.mapper; import java.util.List; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import org.apache.ibatis.annotations.Param; import org.jeecg.modules.system.entity.SysUser; import org.jeecg.modules.system.entity.SysUserDepart; import com.baomidou.mybatisplus.core.mapper.BaseMapper; public interface SysUserDepartMapper extends BaseMapper{ List getUserDepartByUid(@Param("userId") String userId); /** * 查询指定部门下的用户 并且支持用户真实姓名模糊查询 * @param orgCode * @param realname * @return */ List queryDepartUserList(@Param("orgCode") String orgCode, @Param("realname") String realname); /** * 根据部门查询部门用户 * @param page * @param orgCode * @param username * @param realname * @return */ IPage queryDepartUserPageList(Page page, @Param("orgCode") String orgCode, @Param("username") String username, @Param("realname") String realname); }