From 4c922e66965474d31d3f8af4aba76b7b1908ecca Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Thu, 20 May 2021 11:07:29 +0800 Subject: [PATCH] modify --- src/main/resources/mapper/otc/OtcOrderDao.xml | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/otc/OtcOrderDao.xml b/src/main/resources/mapper/otc/OtcOrderDao.xml index 5c21413..de07544 100644 --- a/src/main/resources/mapper/otc/OtcOrderDao.xml +++ b/src/main/resources/mapper/otc/OtcOrderDao.xml @@ -37,4 +37,15 @@ </if> </where> </select> + + <update id="updateOrderStatusByOrderNo"> + update otc_order + set status=#{status} + where order_no=#{orderNo} + </update> + + <select id="selectOrderByOrderNoAndType" resultType="com.xcong.excoin.modules.otc.entity.OtcOrder"> + select * from otc_order + where order_no=#{orderNo} and order_type=#{orderType} + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.1