tjf 7 月之前
父節點
當前提交
432a39e860
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      ruoyi-system/src/main/resources/mapper/system/projectV2/ZsyzSbbzbMapper.xml

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