From e4930c4a9ed4bc2198209370440ec19e1e0393ef Mon Sep 17 00:00:00 2001
From: wzy <wzy19931122ai@163.com>
Date: Sat, 05 Jun 2021 15:42:53 +0800
Subject: [PATCH] modify
---
src/main/resources/mapper/otc/OtcOrderDao.xml | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/otc/OtcOrderDao.xml b/src/main/resources/mapper/otc/OtcOrderDao.xml
index f932ed5..abc90d5 100644
--- a/src/main/resources/mapper/otc/OtcOrderDao.xml
+++ b/src/main/resources/mapper/otc/OtcOrderDao.xml
@@ -66,10 +66,13 @@
<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>
+ <if test="type != null and type!=''">
+ and order_type = #{type}
+ </if>
</select>
<select id="selectMemberAvgPayTime" resultType="java.math.BigDecimal">
--
Gitblit v1.9.1