Przeglądaj źródła

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

release_toaliyun_real
gongbiao 6 lat temu
rodzic
commit
5687d3420d
2 zmienionych plików z 2 dodań i 1 usunięć
  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 Wyświetl plik

@@ -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 Wyświetl plik

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



Ładowanie…
Anuluj
Zapisz