Browse Source

四长可视化

hanfucheng 11 tháng trước cách đây
mục cha
commit
b8123796e3

+ 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>