瀏覽代碼

统计修改

wucl 2 年之前
父節點
當前提交
e582a5db4d
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      dao/src/main/resources/mapper/ItemMapper.xml

+ 4 - 4
dao/src/main/resources/mapper/ItemMapper.xml

@@ -133,8 +133,8 @@
             and i.business_no like concat (#{item.businessNo},'%')
         </if>
         <if test="item!=null and item.isCurYear!=null and item.isCurYear==true">
-            AND i.sign_date &gt;= concat( YEAR ( now())- 1, '-12-23' )
-            AND i.sign_date &lt;= concat( YEAR ( now()), '-12-22' )
+            AND i.upload_date &gt;= concat( YEAR ( now())- 1, '-12-23' )
+            AND i.upload_date &lt;= concat( YEAR ( now()), '-12-22' )
         </if>
         <if test="item!=null and item.clientManager!=null and item.clientManager!='' ">
             and u.name like concat ('%',#{item.clientManager},'%')
@@ -355,8 +355,8 @@
             and i.business_no like concat (#{item.businessNo},'%')
         </if>
         <if test="item!=null and item.isCurYear!=null and item.isCurYear==true">
-            AND i.sign_date &gt;= concat( YEAR ( now())- 1, '-12-23' )
-            AND i.sign_date &lt;= concat( YEAR ( now()), '-12-22' )
+            AND i.upload_date &gt;= concat( YEAR ( now())- 1, '-12-23' )
+            AND i.upload_date &lt;= concat( YEAR ( now()), '-12-22' )
         </if>
         <if test="item!=null and item.clientManager!=null and item.clientManager!='' ">
             and u.name like concat ('%',#{item.clientManager},'%')