From 0dc8f42e10f9923967a04ee93c87a37e0d514dfa Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 22 Mar 2021 15:36:54 +0800 Subject: [PATCH] 20210322 平仓禁用操作(平仓,一键平仓,止盈止损,调整保证金,开仓) --- src/main/resources/mapper/walletCoinOrder/OrderCoinsDao.xml | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/walletCoinOrder/OrderCoinsDao.xml b/src/main/resources/mapper/walletCoinOrder/OrderCoinsDao.xml index dfe3656..b844a93 100644 --- a/src/main/resources/mapper/walletCoinOrder/OrderCoinsDao.xml +++ b/src/main/resources/mapper/walletCoinOrder/OrderCoinsDao.xml @@ -12,11 +12,18 @@ <if test="symbol != null and symbol !=''"> and a.symbol = #{symbol} </if> + order by create_time desc </select> <select id="findWalletCoinOrderByOrderNo" resultType="com.xcong.excoin.modules.coin.entity.OrderCoinsEntity"> SELECT * FROM coins_order a where a.order_no= #{orderNo} </select> - + + + <select id="selectAllEntrustingCoinOrderList" resultType="com.xcong.excoin.modules.coin.entity.OrderCoinsEntity"> + select * + from coins_order + where order_status=1 + </select> </mapper> -- Gitblit v1.9.1