diff --git a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml index 7ebe7cce6..54f96807c 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml @@ -936,7 +936,7 @@ update wx_coupon SET status = 1, update_date = now() - where status = 0 and tenant_id =#{tenantId} and valid_type = 1 and valid_end_date < now() + where status = 0 and tenant_id =#{tenantId} and valid_type in (1, 3) and valid_end_date < now()