From 33bf873937ae03b96ce6d217c24d0b403b4468a1 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 09 Jun 2020 10:24:31 +0800 Subject: [PATCH] 20200609 代码提交 --- 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..5cf439d 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="selectContractOrderInPage" 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