Browse Source

[系统发卡][修改][更新卡密]

release_toaliyun_real
gongbiao 6 years ago
parent
commit
5415514c5f
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      mallinkService/src/main/resources/mapper/WxCouponPasswordMapper.xml

+ 3
- 2
mallinkService/src/main/resources/mapper/WxCouponPasswordMapper.xml View File

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



Loading…
Cancel
Save