diff --git a/mallinkService/src/main/resources/mapper/WxCouponSendMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponSendMapper.xml
index 3b8cedc53..35868f611 100644
--- a/mallinkService/src/main/resources/mapper/WxCouponSendMapper.xml
+++ b/mallinkService/src/main/resources/mapper/WxCouponSendMapper.xml
@@ -104,8 +104,8 @@
update wx_coupon_send cs, wx_coupon c
set cs.status=1, cs.update_date = now()
- where (cs.status = 0 and c.status = 1 and c.id = cs.coupon_id)
- or (cs.status = 0 and c.valid_type = 1 and c.valid_end_date < now())
+ where c.id = cs.coupon_id and cs.status = 0 and
+ ((c.status = 1) or (c.valid_type = 1 and c.valid_end_date < now()))