Commit 350f2c17 by huluobin

update

parent 81691b1b
...@@ -1199,7 +1199,7 @@ public class ScheduleManageServiceImpl extends ServiceImpl<ScheduleManageMapper, ...@@ -1199,7 +1199,7 @@ public class ScheduleManageServiceImpl extends ServiceImpl<ScheduleManageMapper,
ProducePromotionTime producePromotionTime = producePromotionTimeMapper.selectOne(new LambdaQueryWrapper<ProducePromotionTime>().eq(ProducePromotionTime::getProduceId, scheduleServe.getProduceId())); ProducePromotionTime producePromotionTime = producePromotionTimeMapper.selectOne(new LambdaQueryWrapper<ProducePromotionTime>().eq(ProducePromotionTime::getProduceId, scheduleServe.getProduceId()));
//如果款式有活动价格 //如果款式有活动价格
if (producePromotionTime.isPromotion()) { if (producePromotionTime != null && producePromotionTime.isPromotion()) {
scheduleServe.setProducePromotionTimeId(producePromotionTime.getId()); scheduleServe.setProducePromotionTimeId(producePromotionTime.getId());
//活动价格 //活动价格
scheduleServe.setPromotionPrice(producePromotionTime.getPrice()); scheduleServe.setPromotionPrice(producePromotionTime.getPrice());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment