Przeglądaj źródła

fix

release_toaliyun_real
winter 3 miesięcy temu
rodzic
commit
7e78227726
1 zmienionych plików z 2 dodań i 10 usunięć
  1. +2
    -10
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java

+ 2
- 10
mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java Wyświetl plik

@@ -776,16 +776,8 @@ public class WxCouponChannelServiceImpl implements WxCouponChannelService {
wxCouponChannel.setSubBusiness(wxCoupon.getSubBusiness());
wxCouponChannel.setTitle(wxCoupon.getTitle());
wxCouponChannel.setTtSpuId(wxCoupon.getGoodsId());
if (null != channelPrice) {
wxCouponChannel.setChannelPrice(channelPrice);
}else {
wxCouponChannel.setChannelPrice(wxCoupon.getSalePrice());
}
if (null != channelStock) {
wxCouponChannel.setChannelStock(channelStock);
}else {
wxCouponChannel.setChannelStock(wxCoupon.getRemainInventory());
}
wxCouponChannel.setChannelPrice(channelPrice);
wxCouponChannel.setChannelStock(channelStock);
ResultData resultData = saveOrUpdate(wxCouponChannel);
WxCouponChannel channel = (WxCouponChannel)resultData.data;


Ładowanie…
Anuluj
Zapisz