SysDeptMapper.java 919 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. package com.ydtech.modules.admin.dao;
  2. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  3. import com.ydtech.modules.admin.model.SysDept;
  4. import org.apache.ibatis.annotations.Param;
  5. import java.util.List;
  6. public interface SysDeptMapper extends BaseMapper<SysDept> {
  7. String getMaxId(@Param(value = "deptId") String deptId);
  8. /**
  9. * @version
  10. * @author: hxl
  11. * @Date: 2024/4/28 10:01
  12. * @Description: 通过县级code查询门店列表
  13. */
  14. List<SysDept> queryListByParentId(@Param(value = "level") String level,@Param(value = "parentId") String parentId);
  15. /**
  16. * @version
  17. * @author: hxl
  18. * @Date: 2024/6/26 19:55
  19. * @Description: 获取前线机构列表
  20. */
  21. List<SysDept> queryListByQXDept();
  22. /**
  23. * @version
  24. * @author: hxl
  25. * @Date: 2024/6/28 9:24
  26. * @Description:
  27. */
  28. List<SysDept> queryHXDeptTree();
  29. }