|
|
|
@@ -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> |
|
|
|
|
|
|
|
|