| drone-service/drone-system/src/main/java/org/sxkj/system/mapper/DeptMapper.xml | ●●●●● patch | view | raw | blame | history |
drone-service/drone-system/src/main/java/org/sxkj/system/mapper/DeptMapper.xml
@@ -146,7 +146,7 @@ blade_dept where is_deleted = 0 <if test="deptId!=null and deptId!=''"> and (id = #{deptId} or ancestors like concat('%',#{deptId},'%')) and (id = #{deptId}::bigint or ancestors like concat('%',#{deptId},'%')) </if> </select> @@ -166,7 +166,7 @@ left join sys_config sc on sc.dept_id::VARCHAR = bd.id::VARCHAR and sc.is_deleted = 0 where bd.is_deleted = 0 and ( bd.id = #{deptId} bd.id = #{deptId}::bigint or bd.ancestors like concat('%',#{deptId},'%') ) </select>