From 4ac9fb8e1f8ed5a3811cd3e3dc5a4223639867fc Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 26 May 2021 15:03:58 +0800
Subject: [PATCH] Merge branch 'otc' of http://120.27.238.55:7000/r/exchange into otc
---
src/main/resources/mapper/otc/OtcOrderDao.xml | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/src/main/resources/mapper/otc/OtcOrderDao.xml b/src/main/resources/mapper/otc/OtcOrderDao.xml
index a965c23..858e4a9 100644
--- a/src/main/resources/mapper/otc/OtcOrderDao.xml
+++ b/src/main/resources/mapper/otc/OtcOrderDao.xml
@@ -89,12 +89,9 @@
<select id="selectOrderListForUser" resultType="com.xcong.excoin.modules.otc.entity.OtcOrder">
select * from otc_order
where member_id=#{memberId}
- <!-- 查询除完成以外所有订单 -->
- <if test="status != null and status == 0">
- and status = 3
- </if>
- <if test="status != null and status != 0">
- and status != 3
+ <!-- 查询除完成以外所有订单 -->
+ <if test="status != null">
+ and status == #{status}
</if>
</select>
--
Gitblit v1.9.1