JX.Li 2 месяцев назад
Родитель
Сommit
87ee5a036b

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