ly 1 рік тому
батько
коміт
e8a577e947

+ 2 - 0
src/main/java/cn/ezhizao/project/business/keepAccounts/domain/BizFinancialKeepAccount.java

@@ -150,5 +150,7 @@ public class BizFinancialKeepAccount extends BaseEntity {
     private Long finishUserId;
     @TableField(exist = false)
     private String finishUserName;
+    @TableField(exist = false)
+    private List<String> dateFilterFinish;
 
 }

+ 4 - 4
src/main/resources/mybatis/business/BizFinancialKeepAccountMapper.xml

@@ -73,14 +73,14 @@
             )
         </if>
 
-        <if test="verifierName != null">
+        <if test="finishUserName != null">
             AND t7.nick_name like concat('%', #{finishUserName}, '%')
         </if>
-        <if test="dateFilter != null and dateFilter.size()>0 ">
+        <if test="dateFilterFinish != null and dateFilterFinish.size()>0 ">
             AND (
-            DATE_FORMAT(temp.create_time,'%Y-%m-%d') &gt;= #{dateFilter[0]}
+            DATE_FORMAT(temp.create_time,'%Y-%m-%d') &gt;= #{dateFilterFinish[0]}
             AND
-            DATE_FORMAT(temp.create_time,'%Y-%m-%d') &lt;= #{dateFilter[1]}
+            DATE_FORMAT(temp.create_time,'%Y-%m-%d') &lt;= #{dateFilterFinish[1]}
             )
         </if>
         <if test="customerLabelId != null">