Commit e319de01 by huluobin

update

parent 49decd5b
......@@ -996,7 +996,7 @@ public class ScheduleManageServiceImpl extends ServiceImpl<ScheduleManageMapper,
scheduleServeCommand.setActualStartTime(mainScheduleServe.getActualStartTime());
}
//如果主服务已经结单 不能再添加辅助服务
if (mainScheduleServe != null && mainScheduleServe.getStatus() == 3) {
if (mainScheduleServe != null && mainScheduleServe.getStatus() == 3 && scheduleServeCommand.getId() == null) {
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