| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- package com.ydtech.modules.admin.dao;
- import com.baomidou.mybatisplus.core.mapper.BaseMapper;
- import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
- import com.ydtech.modules.admin.model.SysDept;
- import com.ydtech.modules.admin.model.dto.SysUserDto;
- import com.ydtech.modules.admin.model.dto.SysUserLinkFrontLineDeptDto;
- import com.ydtech.modules.admin.model.po.SysUserLinkFrontLineDept;
- import com.ydtech.modules.admin.model.vo.SysUserBaseVO;
- import com.ydtech.modules.admin.model.vo.SysUserLinkFrontLineDeptQueryVo;
- import org.apache.ibatis.annotations.Param;
- import java.util.List;
- /**
- * @author Administrator
- * @description 针对表【sys_user_link_front_line_dept(后线人员配置内部机构表)】的数据库操作Mapper
- * @createDate 2024-06-26 17:28:18
- * @Entity generator.domain.SysUserLinkFrontLineDept
- */
- public interface SysUserLinkFrontLineDeptMapper extends BaseMapper<SysUserLinkFrontLineDept> {
- /**
- * @version
- * @author: hxl
- * @Date: 2024/6/26 19:26
- * @Description: 通过用户id删除的绑定的数据
- */
- void deleteByUserId(@Param("userId") String userId);
- /**
- * @version
- * @author: hxl
- * @Date: 2024/6/26 19:30
- * @Description: 分页查询
- */
- Page<SysUserLinkFrontLineDeptDto> queryPage(@Param("page") Page<SysUserLinkFrontLineDeptDto> page,@Param("vo") SysUserLinkFrontLineDeptQueryVo sysUserLinkFrontLineDeptQueryVo);
- /**
- * @version
- * @author: hxl
- * @Date: 2024/6/27 11:00
- * @Description: 通过用户id查询绑定的数据
- */
- List<SysDept> findDeptListByUserId(@Param("userId") String userId);
- /**
- * @version
- * @author: hxl
- * @Date: 2024/6/27 11:27
- * @Description: 查询用户数据
- */
- Page<SysUserBaseVO> findUserListByDeptPage(@Param("page") Page<SysUserBaseVO> page,@Param("user") SysUserDto sysUserDto);
- }
|