SysDeptMapper.java 774 B

12345678910111213141516171819202122232425262728293031
  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. }