Commit 7e2a491a by huluobin

update

parent a0b6f6c8
...@@ -1157,7 +1157,7 @@ public class ScheduleManageServiceImpl extends ServiceImpl<ScheduleManageMapper, ...@@ -1157,7 +1157,7 @@ public class ScheduleManageServiceImpl extends ServiceImpl<ScheduleManageMapper,
//如果是预约款式 //如果是预约款式
if (scheduleServe.getProduceId() != null) { if (scheduleServe.getProduceId() != null) {
BaseProduce baseProduce = baseProduceMapper.selectById(scheduleServe.getProduceId()); BaseProduce baseProduce = baseProduceService.getProduceForDetail(scheduleServe.getProduceId());
if (!baseProduce.getServiceId().equals(scheduleServeCommand.getServeId())) { if (!baseProduce.getServiceId().equals(scheduleServeCommand.getServeId())) {
throw new RRException("款式不属于当前服务,请重新选择"); throw new RRException("款式不属于当前服务,请重新选择");
} }
......
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