From f43cef4cd654f8f66d3d39cf3ed9d48119bd7e5b Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Tue, 06 Apr 2021 10:33:56 +0800 Subject: [PATCH] modiyf --- src/main/resources/mapper/walletCoinOrder/OrderCoinDealDao.xml | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/walletCoinOrder/OrderCoinDealDao.xml b/src/main/resources/mapper/walletCoinOrder/OrderCoinDealDao.xml index f498ab6..03a89ae 100644 --- a/src/main/resources/mapper/walletCoinOrder/OrderCoinDealDao.xml +++ b/src/main/resources/mapper/walletCoinOrder/OrderCoinDealDao.xml @@ -28,4 +28,19 @@ select * from coins_order_deal where order_id= #{orderId} and member_id = #{memberId} </select> + <select id="findAllWalletCoinOrderInPage" resultType="com.xcong.excoin.modules.coin.entity.OrderCoinsDealEntity"> + select * from coins_order_deal + <if test="record != null"> + <where> + <if test="record.memberId != null" > + and member_id=#{record.memberId} + </if> + <if test="record.symbol != null and record.symbol != ''"> + and symbol = #{record.symbol} + </if> + </where> + </if> + order by create_time desc + </select> + </mapper> -- Gitblit v1.9.1