Browse Source

admin添加接口【根据deptid查询下级所有部门ID&名称】-王公峰-2020-10-09

feature/dangjian
wanggongfeng 5 years ago
parent
commit
6dbb9dd32c
  1. 2
      esua-epdc/epdc-admin/epdc-admin-server/src/main/resources/mapper/SysDeptDao.xml

2
esua-epdc/epdc-admin/epdc-admin-server/src/main/resources/mapper/SysDeptDao.xml

@ -26,7 +26,7 @@
from sys_dept dept
where
dept.DEL_FLAG = '0'
and FIND_IN_SET(#{deptId},dept.pids)
and (FIND_IN_SET(#{deptId},dept.pids) or dept.ID = #{deptId})
</select>
<select id="getIdAndPidList" resultType="com.elink.esua.epdc.entity.SysDeptEntity">

Loading…
Cancel
Save