From 0d30c93d000413c6eb34f489ef17688ad4175201 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Mon, 29 Apr 2024 18:18:21 +0800 Subject: [PATCH] 55测试环境 --- src/main/resources/mapper/otc/OtcOrderDao.xml | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/otc/OtcOrderDao.xml b/src/main/resources/mapper/otc/OtcOrderDao.xml index 24f8920..4928e5b 100644 --- a/src/main/resources/mapper/otc/OtcOrderDao.xml +++ b/src/main/resources/mapper/otc/OtcOrderDao.xml @@ -66,7 +66,7 @@ <select id="selectTotalOrderCount" resultType="java.lang.Integer"> select count(1) from otc_order - where entrust_member_id=#{entrustMemberId} and entrust_member_id!=member_id + where member_id=#{entrustMemberId} <if test="status != null"> and status = #{status} </if> @@ -139,4 +139,15 @@ </select> + <update id="updateIsReturnByOrderNo"> + update otc_order + set is_return=#{isReturn} + where order_no=#{orderNo} + </update> + + <select id="selectOrderUnEntrust" resultType="com.xcong.excoin.modules.otc.entity.OtcOrder"> + select * from otc_order + where order_no=#{orderNo} and member_id!=entrust_member_id + </select> + </mapper> \ No newline at end of file -- Gitblit v1.9.1