🐛 交易记录查询问题修复
This commit is contained in:
parent
e966cf01f2
commit
42b59cf6dd
@ -17,7 +17,7 @@
|
|||||||
</update>
|
</update>
|
||||||
<select id="selectTransactionRecords" resultMap="DTOResultMap">
|
<select id="selectTransactionRecords" resultMap="DTOResultMap">
|
||||||
select * from forest_transaction_record ftr
|
select * from forest_transaction_record ftr
|
||||||
where form_bank_account = #{bankAccount} or to_bank_account = #{bankAccount}
|
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') + 1
|
||||||
order by transaction_time desc
|
order by transaction_time desc
|
||||||
</select>
|
</select>
|
||||||
|
Loading…
Reference in New Issue
Block a user