From 5687d3420d33696dabec77856272a4bfc91d2029 Mon Sep 17 00:00:00 2001 From: gongbiao Date: Thu, 19 Sep 2019 19:26:45 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=B3=BB=E7=BB=9F=E5=8F=91=E5=8D=A1][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9][=E5=8F=91=E5=8D=A1]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/iformall/service/impl/WxCouponPresentServiceImpl.java | 1 + .../src/main/resources/mapper/WxCouponPasswordMapper.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxCouponPresentServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxCouponPresentServiceImpl.java index 26fb80edd..929ce246d 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxCouponPresentServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxCouponPresentServiceImpl.java @@ -117,6 +117,7 @@ public class WxCouponPresentServiceImpl implements WxCouponPresentService { //发送 sendMsg(tenantId, phone, priceStr, name, couponPassword.getPassword()); //记录发送数据便于更新状态 + couponPassword.setSendedPhone(phone); tempList.add(couponPassword); i++; } diff --git a/mallinkService/src/main/resources/mapper/WxCouponPasswordMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponPasswordMapper.xml index 2caed05ca..2af5ba7f6 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponPasswordMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponPasswordMapper.xml @@ -120,7 +120,7 @@ - update wx_coupon_password set status=1 where id = ${item.id} + update wx_coupon_password set status=1,send_phone=#{sendPhone},update_date=now() where id = ${item.id}