Procházet zdrojové kódy

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

release_toaliyun_real
gongbiao před 6 roky
rodič
revize
5687d3420d
2 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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 Zobrazit soubor

@@ -117,6 +117,7 @@ public class WxCouponPresentServiceImpl implements WxCouponPresentService {
//发送
sendMsg(tenantId, phone, priceStr, name, couponPassword.getPassword());
//记录发送数据便于更新状态
couponPassword.setSendedPhone(phone);
tempList.add(couponPassword);
i++;
}


+ 1
- 1
mallinkService/src/main/resources/mapper/WxCouponPasswordMapper.xml Zobrazit soubor

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



Načítá se…
Zrušit
Uložit