浏览代码

四长可视化

hanfucheng 11 月之前
父节点
当前提交
b8123796e3
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/main/resources/mapper/digitalwater/WaterConservancyViewMapper.xml

+ 1 - 0
src/main/resources/mapper/digitalwater/WaterConservancyViewMapper.xml

@@ -119,6 +119,7 @@
                 a.type = #{leadType}
                 <if test="dictType != null  and dictType != ''">AND a.post = #{dictType}</if>
                 <if test="name != null  and name != ''">AND a.name like concat('%', #{name}, '%')</if>
+                <if test="level != null  and level != ''">AND a.lin_level = #{level}</if>
                 <choose>
                     <when test="deptId != null and deptId != ''">and FIND_IN_SET( #{deptId}, CONCAT(d.ancestors,',',d.dept_id) )</when>
                     <otherwise>${params.dataScope}</otherwise>