From 30a8b07cc91e1f19f1ab915770d3199feb4906ef Mon Sep 17 00:00:00 2001 From: xhxu Date: Wed, 13 Oct 2021 17:04:45 +0800 Subject: [PATCH] update gift --- mallinkService/src/main/resources/mapper/WxCouponMapper.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml index 43475cea0..bdbf438b4 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml @@ -730,7 +730,9 @@ update wx_coupon c SET c.status = 1, c.update_date = now() - where c.status = 0 and c.tenant_id =#{tenantId} + where c.status = 0 and c.tenant_id =#{tenantId} + + and c.type != 12 and c.id not in