Ver código fonte

//coupon

release_toaliyun_real
xhxu 3 anos atrás
pai
commit
f5e08359c5
1 arquivos alterados com 4 adições e 1 exclusões
  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 Ver arquivo

@@ -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());


Carregando…
Cancelar
Salvar