From 5ff6d55ec63f8513aca507c32b8d1a5082f2c455 Mon Sep 17 00:00:00 2001
From: rx <auster_i@163.com>
Date: 星期一, 25 十二月 2023 17:02:36 +0800
Subject: [PATCH] 计算额度修改

---
 phi_platform_common/src/main/resources/mapper/platform/CouponNumberMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/phi_platform_common/src/main/resources/mapper/platform/CouponNumberMapper.xml b/phi_platform_common/src/main/resources/mapper/platform/CouponNumberMapper.xml
index ec490bb..ce504c6 100644
--- a/phi_platform_common/src/main/resources/mapper/platform/CouponNumberMapper.xml
+++ b/phi_platform_common/src/main/resources/mapper/platform/CouponNumberMapper.xml
@@ -94,7 +94,7 @@
 			 ,IFNULL(count(*),0) as useNum from coupon_number cn left join coupon c on cn.couponId = c.id
 		where cn.isDel = 0 and cn.sendShopId = #{shopId}
 		  and c.type = 1 and cn.validState = 1
-		  and cn.sendReason = #{sendReason} and cn.commonType = 'marketing_assistant'
+		  and cn.sendReason in ('ks','ccj')  and cn.commonType = 'marketing_assistant'
 		<if test="startTime != null">
 			and cn.createTime &gt;= #{startTime}
 		</if>
@@ -111,7 +111,7 @@
 		,IFNULL(count(*),0) as useNum from coupon_number cn left join coupon c on cn.couponId = c.id
 		where cn.isDel = 0
 		and c.type = 1 and cn.validState = 1
-		and cn.sendReason = #{sendReason} and cn.commonType = 'marketing_assistant'
+		and cn.sendReason in ('ks','ccj')  and cn.commonType = 'marketing_assistant'
 		and ascrCostDeptName = #{ascrCostDeptName}
 		<if test="startTime != null">
 			and cn.createTime &gt;= #{startTime}

--
Gitblit v1.8.0