Przeglądaj źródła

[系统发卡][修改][循环更新兑换信息]

release_toaliyun_real
gongbiao 6 lat temu
rodzic
commit
30ff180f77
1 zmienionych plików z 2 dodań i 1 usunięć
  1. +2
    -1
      mallinkService/src/main/resources/mapper/WxCouponPasswordMapper.xml

+ 2
- 1
mallinkService/src/main/resources/mapper/WxCouponPasswordMapper.xml Wyświetl plik

@@ -139,7 +139,8 @@
<update id="updateStatus" parameterType="java.util.List"> <update id="updateStatus" parameterType="java.util.List">
<foreach collection="list" item="item" index="index" open="" close="" separator=";"> <foreach collection="list" item="item" index="index" open="" close="" separator=";">
update wx_coupon_password set update wx_coupon_password set
status=1,send_phone=#{item.sendedPhone},update_date=now(),expire_date=date_add(now(),interval 30 DAY) where
status=1,sended_phone=#{item.sendedPhone},update_date=now(),expire_date=date_add(now(),interval 30 DAY)
where
id id
= #{item.id} = #{item.id}
</foreach> </foreach>


Ładowanie…
Anuluj
Zapisz