Lius
2025-07-16 370dfae9f6a8f3b8872c48369ec4efa7708e51d5
lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/mapper/SysDepartMapper.java
@@ -2,6 +2,7 @@
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.jeecg.common.system.vo.SelectTreeModel;
import org.jeecg.modules.system.entity.SysDepart;
import org.jeecg.modules.system.model.SysDepartTreeModel;
import org.jeecg.modules.system.model.TreeModel;
@@ -90,4 +91,8 @@
    */
   @Select("SELECT * FROM sys_depart where del_flag ='0' AND parent_id = #{parentId,jdbcType=VARCHAR}")
   List<SysDepart> queryDeptByPid(@Param("parentId")String parentId);
    List<SysDepart> getDepartListByParentId(List<String> parentIds);
   List<SelectTreeModel> getDepartTreeByParentId(String parentId);
}