From d2e9373d08edad3ebccbcf1831c2e809a693ae6a Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期三, 27 十一月 2024 13:49:31 +0800 Subject: [PATCH] 565-订单列表:增加用户账号搜索框 --- 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