| | |
| | | |
| | | 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; |
| | |
| | | */ |
| | | @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); |
| | | } |