From d2f0048ff3d2e927ab0629fffe3e40ba91c11976 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期日, 26 四月 2020 16:53:40 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/div' into div

---
 fanli/src/main/java/com/yeshi/fanli/mapping/order/CommonOrderMapper.xml |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/mapping/order/CommonOrderMapper.xml b/fanli/src/main/java/com/yeshi/fanli/mapping/order/CommonOrderMapper.xml
index b0c121f..1f03465 100644
--- a/fanli/src/main/java/com/yeshi/fanli/mapping/order/CommonOrderMapper.xml
+++ b/fanli/src/main/java/com/yeshi/fanli/mapping/order/CommonOrderMapper.xml
@@ -1200,5 +1200,8 @@
 		GROUP BY co.`co_order_no`, co.`co_source_type` )A
 	</select>
 	
-	
+	<select id="countOrderByUidAndSettled" resultType="Long">
+		SELECT COUNT(d.`co_id`) FROM `yeshi_ec_common_order` d
+		WHERE d.`co_uid` = #{uid} AND d.`co_settle_time` IS NOT NULL  AND d.`co_payment` >= #{payment}
+	</select>
 </mapper>

--
Gitblit v1.8.0