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 | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/modules/OtcOrderMapper.xml b/src/main/resources/mapper/modules/OtcOrderMapper.xml index 8a0dd5a..4b9b5b6 100644 --- a/src/main/resources/mapper/modules/OtcOrderMapper.xml +++ b/src/main/resources/mapper/modules/OtcOrderMapper.xml @@ -20,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