From 7e7822772698a9b9591021649f0ea1e455386041 Mon Sep 17 00:00:00 2001 From: winter <664946893@qq.com> Date: Sat, 31 Jan 2026 12:31:43 +0800 Subject: [PATCH] fix --- .../service/impl/WxCouponChannelServiceImpl.java | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java index 701c8e2f7..f337d69f4 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java +++ b/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;