瀏覽代碼

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

release_toaliyun_real
gongbiao 6 年之前
父節點
當前提交
5687d3420d
共有 2 個檔案被更改,包括 2 行新增1 行删除
  1. +1
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponPresentServiceImpl.java
  2. +1
    -1
      mallinkService/src/main/resources/mapper/WxCouponPasswordMapper.xml

+ 1
- 0
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()); sendMsg(tenantId, phone, priceStr, name, couponPassword.getPassword());
//记录发送数据便于更新状态 //记录发送数据便于更新状态
couponPassword.setSendedPhone(phone);
tempList.add(couponPassword); tempList.add(couponPassword);
i++; i++;
} }


+ 1
- 1
mallinkService/src/main/resources/mapper/WxCouponPasswordMapper.xml 查看文件

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




Loading…
取消
儲存