Преглед изворни кода

//coupon

release_toaliyun_real
xhxu пре 3 година
родитељ
комит
f5e08359c5
1 измењених фајлова са 4 додато и 1 уклоњено
  1. +4
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponServiceImpl.java

+ 4
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxCouponServiceImpl.java Прегледај датотеку

@@ -235,7 +235,10 @@ public class WxCouponServiceImpl implements WxCouponService {
wxCoupon.setPlat(EnumCouponType.getAppPlat(wxCoupon.getType()).getCode());
}
}else{
List<Integer> types = wxCoupon.getTypes();
List<Integer> types = new ArrayList<>();
if(wxCoupon.getTypes() != null && !wxCoupon.getTypes().isEmpty()){
types.addAll(wxCoupon.getTypes());
}
if(wxCoupon.getTargetAd() != null){
if(wxCoupon.getPlat() == null){
wxCoupon.setPlat(EnumCouponChannelType.getAppPlat(wxCoupon.getTargetAd()).getCode());


Loading…
Откажи
Сачувај