tjf 7 bulan lalu
induk
melakukan
432a39e860

+ 5 - 5
ruoyi-system/src/main/resources/mapper/system/projectV2/ZsyzSbbzbMapper.xml

@@ -2133,8 +2133,8 @@
             <if test="xmStatus != null  and xmStatus != ''">and s.xm_status = #{xmStatus}</if>
             <if test="cjdId != null ">and cjd_id = #{cjdId}</if>
             )
-            )
-                ) a
+            )a
+                )
             <if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 -->
                 AND date_format(q.qyrq,'%Y%m%d') &gt;= date_format(#{params.beginTime},'%Y%m%d')
             </if>
@@ -2174,8 +2174,8 @@
             <if test="xmStatus != null  and xmStatus != ''">and s.xm_status = #{xmStatus}</if>
             <if test="cjdId != null ">and cjd_id = #{cjdId}</if>
             )
+            )a
             )
-            ) a
             <if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 -->
                 AND date_format(k.kgrq,'%Y%m%d') &gt;= date_format(#{params.beginTime},'%Y%m%d')
             </if>
@@ -2215,8 +2215,8 @@
             <if test="xmStatus != null  and xmStatus != ''">and s.xm_status = #{xmStatus}</if>
             <if test="cjdId != null ">and cjd_id = #{cjdId}</if>
             )
+            )a
             )
-            ) a
             <if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 -->
                 AND date_format(t.tcrq,'%Y%m%d') &gt;= date_format(#{params.beginTime},'%Y%m%d')
             </if>
@@ -2256,8 +2256,8 @@
             <if test="xmStatus != null  and xmStatus != ''">and s.xm_status = #{xmStatus}</if>
             <if test="cjdId != null ">and cjd_id = #{cjdId}</if>
             )
+            )a
             )
-            ) a
             <if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 -->
                 AND date_format(l.cjsj,'%Y%m%d') &gt;= date_format(#{params.beginTime},'%Y%m%d')
             </if>