|
@@ -335,6 +335,9 @@ public class ChannelProdServiceImpl extends ServiceImpl<ChannelProdMapper, Chann
|
|
|
channelProd.setShopId(updateShannerProdDTO.getShopId());
|
|
channelProd.setShopId(updateShannerProdDTO.getShopId());
|
|
|
channelProd.setPurchasePrice(updateShannerProdDTO.getPurchasePrice());
|
|
channelProd.setPurchasePrice(updateShannerProdDTO.getPurchasePrice());
|
|
|
channelProd.setDeliveryPrice(updateShannerProdDTO.getDeliveryPrice());
|
|
channelProd.setDeliveryPrice(updateShannerProdDTO.getDeliveryPrice());
|
|
|
|
|
+ if (setChannelPriceDto.getChannelProdPrice() == null){
|
|
|
|
|
+ throw new GlobalException("渠道售价不能为空");
|
|
|
|
|
+ }
|
|
|
channelProd.setChannelProdPrice(setChannelPriceDto.getChannelProdPrice());
|
|
channelProd.setChannelProdPrice(setChannelPriceDto.getChannelProdPrice());
|
|
|
channelProd.setRecTime(new Date());
|
|
channelProd.setRecTime(new Date());
|
|
|
channelProd.setIsDelete(0);
|
|
channelProd.setIsDelete(0);
|