ソースを参照

[卡券][修复]:定向发送卡券误下架问题

release_toaliyun_real
hupeng 7年前
コミット
6b1c8db76c
1個のファイルの変更2行の追加2行の削除
  1. +2
    -2
      mallinkService/src/main/resources/mapper/WxCouponSendMapper.xml

+ 2
- 2
mallinkService/src/main/resources/mapper/WxCouponSendMapper.xml ファイルの表示

@@ -104,8 +104,8 @@
<update id="offExpiriedCouponSendByCouponStatus"> <update id="offExpiriedCouponSendByCouponStatus">
update wx_coupon_send cs, wx_coupon c update wx_coupon_send cs, wx_coupon c
set cs.status=1, cs.update_date = now() 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 &lt; 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 &lt; now()))
</update> </update>


<update id="offExpiriedCouponSendBySendEndTime"> <update id="offExpiriedCouponSendBySendEndTime">


読み込み中…
キャンセル
保存