Просмотр исходного кода

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

release_toaliyun_real
gongbiao 6 лет назад
Родитель
Сommit
774a94ef93
1 измененных файлов: 3 добавлений и 1 удалений
  1. +3
    -1
      mallinkService/src/main/resources/mapper/WxCouponPasswordMapper.xml

+ 3
- 1
mallinkService/src/main/resources/mapper/WxCouponPasswordMapper.xml Просмотреть файл

@@ -136,7 +136,9 @@
<update id="updateStatus" parameterType="java.util.List">
<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>
</update>



Загрузка…
Отмена
Сохранить