瀏覽代碼

优化民用导出

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