添加队伍所属单位内容错误bug修复

main
15036302109 9 months ago
parent da4aee8fa7
commit be191225ea

@ -81,9 +81,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectAllDeptList" parameterType="SysDept" resultMap="SysDeptResult">
select d.dept_id,d.dept_name
from sys_dept d
<if test="parentId == 0">
where parent_id!=0
</if>
<where>
del_flag = '0'
<if test="parentId == 0">
AND parent_id != 0
</if>
</where>
order by d.order_num
</select>
<select id="selectDeptById" parameterType="Long" resultMap="SysDeptResult">

Loading…
Cancel
Save