Kaynağa Gözat

fix:修复劵类型为3时,过期未更新为作废状态问题

release_toaliyun_real
xmzhao71 2 yıl önce
ebeveyn
işleme
309271cd15
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      mallinkService/src/main/resources/mapper/WxCouponMapper.xml

+ 1
- 1
mallinkService/src/main/resources/mapper/WxCouponMapper.xml Dosyayı Görüntüle

@@ -936,7 +936,7 @@


<update id="offExpiriedCouponByValidDate" parameterType="String"> <update id="offExpiriedCouponByValidDate" parameterType="String">
update wx_coupon SET status = 1, update_date = now() update wx_coupon SET status = 1, update_date = now()
where status = 0 and tenant_id =#{tenantId} and valid_type = 1 and valid_end_date &lt; now()
where status = 0 and tenant_id =#{tenantId} and valid_type in (1, 3) and valid_end_date &lt; now()
</update> </update>


<update id="offExpiriedCouponByMerchantStatus" parameterType="HashMap"> <update id="offExpiriedCouponByMerchantStatus" parameterType="HashMap">


Yükleniyor…
İptal
Kaydet