Przeglądaj źródła

[系统发卡][修改][发卡]

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

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

@@ -136,7 +136,9 @@
<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 status=1,send_phone=#{sendPhone},update_date=now() where id = ${item.id}
update wx_coupon_password set
status=1,send_phone=#{item.sendPhone},update_date=now(),expire_date=date_add(now(),interval 30 DAY) where id
= ${item.id}
</foreach> </foreach>
</update> </update>




Ładowanie…
Anuluj
Zapisz