SysDeptInternalAgentMapper.java 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. package com.ydtech.modules.admin.dao;
  2. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  3. import com.ydtech.modules.admin.model.dto.GroupDto;
  4. import com.ydtech.modules.admin.model.po.SysDeptInternalAgent;
  5. import org.apache.ibatis.annotations.Param;
  6. import java.util.List;
  7. /**
  8. * @author Administrator
  9. * @description 针对表【sys_dept_internal_agent(内部机构管理)】的数据库操作Mapper
  10. * @createDate 2024-06-26 17:28:34
  11. * @Entity generator.domain.SysDeptInternalAgent
  12. */
  13. public interface SysDeptInternalAgentMapper extends BaseMapper<SysDeptInternalAgent> {
  14. /**
  15. * @version
  16. * @author: hxl
  17. * @Date: 2024/6/27 11:20
  18. * @Description: 查询所有的机构
  19. */
  20. List<SysDeptInternalAgent> queryDeptList(@Param(value = "parentIds") String parentIds,@Param(value = "comtype") String comtype);
  21. /**
  22. * @version
  23. * @author: hxl
  24. * @Date: 2024/9/10 9:11
  25. * @Description: 通过部门id和类型查询组的数据
  26. */
  27. List<GroupDto> queryGroupListByDeptId(@Param(value = "deptId") String deptId, @Param(value = "comtype") String comtype);
  28. }