浏览代码

fix:导出bug修复

xdd 2 周之前
父节点
当前提交
8566c51ab8
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      fs-service-system/src/main/java/com/fs/store/mapper/FsStorePaymentMapper.java

+ 6 - 0
fs-service-system/src/main/java/com/fs/store/mapper/FsStorePaymentMapper.java

@@ -179,6 +179,12 @@ public interface FsStorePaymentMapper
             "<if test = 'maps.endTime != null and maps.endTime != \"\"   '> " +
             " AND date_format(p.pay_time,'%y%m%d') &lt;= date_format(#{maps.endTime},'%y%m%d') " +
             "</if>" +
+            "<if test = 'maps.refundBeginTime != null  and maps.refundBeginTime != \"\"    '> " +
+            "and DATE_FORMAT(p.refund_time,'%y%m%d') &gt;= date_format(#{maps.refundBeginTime},'%y%m%d')  " +
+            "</if>" +
+            "<if test = 'maps.refundEndTime != null and maps.refundEndTime != \"\"   '> " +
+            " AND date_format(p.refund_time,'%y%m%d') &lt;= date_format(#{maps.refundEndTime},'%y%m%d') " +
+            "</if>" +
             "<if test = 'maps.deptId != null    '> " +
             "  AND (p.dept_id = #{maps.deptId} OR p.dept_id IN ( SELECT t.dept_id FROM company_dept t WHERE find_in_set(#{maps.deptId}, ancestors) )) " +
             "</if>" +