浏览代码

fix

release_toaliyun_real
winter 7 个月前
父节点
当前提交
7e78227726
共有 1 个文件被更改,包括 2 次插入10 次删除
  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 查看文件

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


正在加载...
取消
保存