From 42b59cf6ddf5f8e8afee5bcb784f64b627a788fb Mon Sep 17 00:00:00 2001 From: ronger Date: Wed, 29 Dec 2021 12:00:25 +0800 Subject: [PATCH 01/12] =?UTF-8?q?:bug:=20=E4=BA=A4=E6=98=93=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E6=9F=A5=E8=AF=A2=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/mapper/TransactionRecordMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/mapper/TransactionRecordMapper.xml b/src/main/java/mapper/TransactionRecordMapper.xml index 62df2f2..62ff7e7 100644 --- a/src/main/java/mapper/TransactionRecordMapper.xml +++ b/src/main/java/mapper/TransactionRecordMapper.xml @@ -17,8 +17,8 @@ select * from forest_transaction_record ftr where (form_bank_account = #{bankAccount} or to_bank_account = #{bankAccount}) - and transaction_time between str_to_date(#{startDate}, '%Y-%m-%d') and str_to_date(#{endDate}, '%Y-%m-%d') + 1 + and transaction_time between str_to_date(#{startDate}, '%Y-%m-%d') and str_to_date(#{endDate}, '%Y-%m-%d') + interval 1 day order by transaction_time desc