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

main
15036302109 7 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 id="selectAllDeptList" parameterType="SysDept" resultMap="SysDeptResult">
select d.dept_id,d.dept_name select d.dept_id,d.dept_name
from sys_dept d from sys_dept d
<if test="parentId == 0"> <where>
where parent_id!=0 del_flag = '0'
</if> <if test="parentId == 0">
AND parent_id != 0
</if>
</where>
order by d.order_num order by d.order_num
</select> </select>
<select id="selectDeptById" parameterType="Long" resultMap="SysDeptResult"> <select id="selectDeptById" parameterType="Long" resultMap="SysDeptResult">

Loading…
Cancel
Save