From a3f86d22b6b9d5ab4a335488ddaf8edf3aa5f787 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Thu, 03 Jun 2021 16:45:08 +0800 Subject: [PATCH] modify --- src/main/resources/mapper/modules/OtcOrderMapper.xml | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/modules/OtcOrderMapper.xml b/src/main/resources/mapper/modules/OtcOrderMapper.xml index ee4104e..4b9b5b6 100644 --- a/src/main/resources/mapper/modules/OtcOrderMapper.xml +++ b/src/main/resources/mapper/modules/OtcOrderMapper.xml @@ -10,7 +10,6 @@ otc_order a LEFT JOIN member m ON m.id = a.member_id LEFT JOIN member_authentication b ON b.member_id = a.member_id - LEFT JOIN otc_market_bussiness c ON c.id = a.pay_md_id <where> <if test="record != null" > <if test="record.account!=null and record.account!=''"> @@ -21,7 +20,12 @@ </if> </if> </where> - order by m.create_time desc + order by a.create_time desc </select> + <update id="updateOrderStatusByOrderNo"> + update otc_order + set status=#{status} + where order_no=#{orderNo} + </update> </mapper> \ No newline at end of file -- Gitblit v1.9.1