Procházet zdrojové kódy

//spu_sync bug

release_toaliyun_real
xhxu před 3 roky
rodič
revize
d2232b2d49
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. +4
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java

+ 4
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java Zobrazit soubor

@@ -144,6 +144,7 @@ public class WxCouponChannelServiceImpl implements WxCouponChannelService {
}else{
WxCouponChannel old = getById(record.getId(),record.getTenantId());
wxCoupon = wxCouponService.getById(old.getCouponId(),old.getTenantId());

if(EnumCouponChannelStatus.STATUS_TAKE_OFFF.getCode().equals(old.getStatus())
&& EnumCouponChannelStatus.STATUS_THROW_IN.getCode().equals(record.getStatus())){
if(record.getTargetAd() == null){
@@ -168,6 +169,9 @@ public class WxCouponChannelServiceImpl implements WxCouponChannelService {
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),"该券未提交审核或审核未通过");
}
}
if(record.getCouponId() == null){
record.setCouponId(wxCoupon.getId());
}

if(isThrowIn){
//查找是否该券 在该频道有其他上架


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