From 53b823e2b1444e33f359fba79f8ff1e078253891 Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期四, 14 十一月 2024 09:26:10 +0800
Subject: [PATCH] add:-商户列表需要增加下单次数统计(已退款、已取消、待付款的不统计在内)
---
src/main/resources/mapper/wallet/WalletBillRecordMapper.xml | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/resources/mapper/wallet/WalletBillRecordMapper.xml b/src/main/resources/mapper/wallet/WalletBillRecordMapper.xml
index 5397612..37f7e00 100644
--- a/src/main/resources/mapper/wallet/WalletBillRecordMapper.xml
+++ b/src/main/resources/mapper/wallet/WalletBillRecordMapper.xml
@@ -77,10 +77,10 @@
and t.order_no like concat('%', #{dto.orderNo}, '%')
</if>
<if test="dto.createStartDate!=null ">
- AND DATE_FORMAT(w.create_time, '%Y-%m-%d') >= #{dto.createStartDate}
+ AND DATE_FORMAT(t.create_time, '%Y-%m-%d') >= #{dto.createStartDate}
</if>
<if test="dto.endEndDate!=null ">
- AND DATE_FORMAT(w.create_time, '%Y-%m-%d') <= #{dto.endEndDate}
+ AND DATE_FORMAT(t.create_time, '%Y-%m-%d') <= #{dto.endEndDate}
</if>
<if test="dto.approveStartDate!=null ">
AND DATE_FORMAT(w.approve_time, '%Y-%m-%d') >= #{dto.approveStartDate}
@@ -110,10 +110,10 @@
and t.order_no like concat('%', #{dto.orderNo}, '%')
</if>
<if test="dto.createStartDate!=null ">
- AND DATE_FORMAT(w.create_time, '%Y-%m-%d') >= #{dto.createStartDate}
+ AND DATE_FORMAT(t.create_time, '%Y-%m-%d') >= #{dto.createStartDate}
</if>
<if test="dto.endEndDate!=null ">
- AND DATE_FORMAT(w.create_time, '%Y-%m-%d') <= #{dto.endEndDate}
+ AND DATE_FORMAT(t.create_time, '%Y-%m-%d') <= #{dto.endEndDate}
</if>
<if test="dto.approveStartDate!=null ">
AND DATE_FORMAT(w.approve_time, '%Y-%m-%d') >= #{dto.approveStartDate}
--
Gitblit v1.9.3