Browse Source

导出bug修改

wangtong 1 năm trước cách đây
mục cha
commit
f47b8ec78c

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

@@ -358,16 +358,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             and a.unit_id = #{p.unitId}
         </if>
         <if test="p.enginType != null and p.enginType != ''">
-            and engin_type = #{p.enginType}
+            and a.engin_type = #{p.enginType}
         </if>
         <if test="p.enginClassification != null and p.enginClassification != ''">
-            and engin_classification = #{p.enginClassification}
+            and a.engin_classification = #{p.enginClassification}
         </if>
         <if test="p.enginCycle != null and p.enginCycle != ''">
-            and engin_cycle = 0
+            and a.engin_cycle = 0
         </if>
         <if test="p.beginTime != null and p.beginTime != ''">
-            and  update_info_time between #{beginTime[0]} and #{beginTime[1]}
+            and  c.update_info_time between #{beginTime[0]} and #{beginTime[1]}
         </if>
         <if test="p.createBy != null and p.createBy != ''">
             and c.create_by like CONCAT(#{p.createBy},'%')
@@ -437,16 +437,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                 and a.unit_id = #{p.unitId}
             </if>
             <if test="p.enginType != null and p.enginType != ''">
-                and engin_type = #{p.enginType}
+                and a.engin_type = #{p.enginType}
             </if>
             <if test="p.enginClassification != null and p.enginClassification != ''">
-                and engin_classification = #{p.enginClassification}
+                and a.engin_classification = #{p.enginClassification}
             </if>
             <if test="p.enginCycle != null and p.enginCycle != ''">
-                and engin_cycle = 0
+                and a.engin_cycle = 0
             </if>
             <if test="p.beginTime != null and p.beginTime != ''">
-                and  update_info_time between #{beginTime[0]} and #{beginTime[1]}
+                and  c.update_info_time between #{beginTime[0]} and #{beginTime[1]}
             </if>
             <if test="p.createBy != null and p.createBy != ''">
                 and c.create_by like CONCAT(#{p.createBy},'%')
@@ -477,16 +477,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             and a.unit_id = #{p.unitId}
         </if>
         <if test="p.enginType != null and p.enginType != ''">
-            and engin_type = #{p.enginType}
+            and a.engin_type = #{p.enginType}
         </if>
         <if test="p.enginClassification != null and p.enginClassification != ''">
-            and engin_classification = #{p.enginClassification}
+            and a.engin_classification = #{p.enginClassification}
         </if>
         <if test="p.enginCycle != null and p.enginCycle != ''">
-            and engin_cycle = 0
+            and a.engin_cycle = 0
         </if>
         <if test="p.beginTime != null and p.beginTime != ''">
-            and  update_info_time between #{beginTime[0]} and #{beginTime[1]}
+            and  c.update_info_time between #{beginTime[0]} and #{beginTime[1]}
         </if>
         <if test="p.type != null and p.type != ''">
             and b.type =#{p.type}