JX.Li преди 2 месеца
родител
ревизия
87ee5a036b
променени са 1 файла, в които са добавени 5 реда и са изтрити 0 реда
  1. 5 0
      ruoyi-zdsz/src/main/resources/mapper/zdsz/ZEngineeringCivilMapper.xml

+ 5 - 0
ruoyi-zdsz/src/main/resources/mapper/zdsz/ZEngineeringCivilMapper.xml

@@ -1015,6 +1015,11 @@
             and a.create_by like CONCAT(#{p.createBy},'%')
         </if>
         ) z
+        <where>
+            <if test="p.type != null and p.type != ''">
+                and type = #{p.type}
+            </if>
+        </where>
         ORDER BY
         z.area_id,
         CONVERT ( REPLACE ( z.building_id, '栋', '' ), UNSIGNED ),