| | |
| | | public ScheduleResultVO doSchedule(String schemeCode, Date scheduleTime) throws ModelInvokeException { |
| | | ScheduleResultVO scheduleResult = new ScheduleResultVO(); |
| | | StScheduleSchemeEntity scheduleScheme = stScheduleSchemeService.getByCode(schemeCode); |
| | | StScheduleModelEntity scheduleModel = stScheduleModelService.selectById(scheduleScheme.getModelId()); |
| | | StScheduleModelEntity scheduleModel = stScheduleModelService.get(scheduleScheme.getModelId()); |
| | | if (scheduleModel == null) { |
| | | throw new ModelInvokeException(MessageFormat.format("{0},modelId={1}", |
| | | ModelInvokeException.errorGetModelEntity, scheduleModel.getId())); |