SysDeptInternalAgentService.java 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. package com.ydtech.modules.admin.service;
  2. import com.baomidou.mybatisplus.extension.service.IService;
  3. import com.ydtech.modules.admin.model.dto.SysDeptInternalAgentDto;
  4. import com.ydtech.modules.admin.model.po.SysDeptInternalAgent;
  5. import com.ydtech.modules.admin.model.vo.SysDeptInternalAgentAddVo;
  6. import com.ydtech.modules.admin.model.vo.SysUserLinkAreaVo;
  7. import com.ydtech.modules.order.entity.BasePageResult;
  8. import java.util.List;
  9. /**
  10. * @author Administrator
  11. * @description 针对表【sys_dept_internal_agent(内部机构管理)】的数据库操作Service
  12. * @createDate 2024-06-26 17:28:34
  13. */
  14. public interface SysDeptInternalAgentService extends IService<SysDeptInternalAgent> {
  15. /**
  16. * @version
  17. * @author: hxl
  18. * @Date: 2024/6/26 18:26
  19. * @Description: 内部机构分页
  20. */
  21. BasePageResult<SysDeptInternalAgentDto> queryPage(SysUserLinkAreaVo sysUserLinkAreaVo);
  22. /**
  23. * @version
  24. * @author: hxl
  25. * @Date: 2024/6/26 18:27
  26. * @Description: 内部机构的添加、修改
  27. */
  28. void addOrUpdate(SysDeptInternalAgentAddVo sysDeptInternalAgentAddVo);
  29. /**
  30. * @version
  31. * @author: hxl
  32. * @Date: 2024/6/26 18:27
  33. * @Description: 内部机构的删除
  34. */
  35. void deleteByIds(List<String> ids);
  36. /**
  37. * @version
  38. * @author: hxl
  39. * @Date: 2024/6/26 18:30
  40. * @Description: 内部机构回显
  41. */
  42. SysDeptInternalAgent findSysDeptInternalAgentById(String id);
  43. /**
  44. * @version
  45. * @author: hxl
  46. * @Date: 2024/6/27 12:04
  47. * @Description: 查询机构与树
  48. */
  49. List<SysDeptInternalAgent> findTree(String deptId, String comtype);
  50. }