|
|
@@ -730,7 +730,9 @@ |
|
|
<update id="offExpiriedCouponByMerchantStatus" parameterType="HashMap"> |
|
|
<update id="offExpiriedCouponByMerchantStatus" parameterType="HashMap"> |
|
|
update wx_coupon c |
|
|
update wx_coupon c |
|
|
SET c.status = 1, c.update_date = now() |
|
|
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} |
|
|
|
|
|
<!-- type=12 礼包卷没有门店 --> |
|
|
|
|
|
and c.type != 12 |
|
|
<if test=" null != validIds "> |
|
|
<if test=" null != validIds "> |
|
|
and c.id not in |
|
|
and c.id not in |
|
|
<foreach collection="validIds" index="index" item="idItem" open="(" separator="," close=")"> |
|
|
<foreach collection="validIds" index="index" item="idItem" open="(" separator="," close=")"> |
|
|
|