|
|
@ -99,7 +99,7 @@ public class DcBatchFunctionsJobServiceImpl extends ServiceImpl<DcBatchFunctions |
|
|
|
} |
|
|
|
dcBatchFunctionsJobGroup.setDetailedConfiguration(String.valueOf(detailedConfigurations)); |
|
|
|
dcBatchFunctionsJobGroupService.editDcBatchFunctionsJobGroup(dcBatchFunctionsJobGroup); |
|
|
|
dcBatchFunctionsJob.setJobId(id); |
|
|
|
dcBatchFunctionsJob.setJobId(Long.valueOf(id)); |
|
|
|
dcBatchFunctionsJob.setCreateTime(new Date()); |
|
|
|
createScheduleJob(dcBatchFunctionsJob); |
|
|
|
boolean save = save(dcBatchFunctionsJob); |
|
|
@ -150,7 +150,7 @@ public class DcBatchFunctionsJobServiceImpl extends ServiceImpl<DcBatchFunctions |
|
|
|
public boolean removeDcBatchFunctionsJob(List<String> ids) throws SchedulerException, TaskException { |
|
|
|
for (String id : ids) { |
|
|
|
DcBatchFunctionsJob job = new DcBatchFunctionsJob(); |
|
|
|
job.setJobId(Integer.valueOf(id)); |
|
|
|
job.setJobId(Long.valueOf(id)); |
|
|
|
List<DcBatchFunctionsJob> dcBatchFunctionsJobs = listDcBatchFunctionsJob(job); |
|
|
|
if (dcBatchFunctionsJobs.size() == 0) { |
|
|
|
return false; |
|
|
@ -247,11 +247,7 @@ public class DcBatchFunctionsJobServiceImpl extends ServiceImpl<DcBatchFunctions |
|
|
|
}); |
|
|
|
dcBatchFunctionsJobGroup.setDetailedConfiguration(detailedConfiguration.toString()); |
|
|
|
DcBatchFunctionsJobGroup dcBatchFunctionsJobGroup1 = dcBatchFunctionsJobGroupService.editDcBatchFunctionsJobGroup(dcBatchFunctionsJobGroup); |
|
|
|
if (dcBatchFunctionsJobGroup1 != null) { |
|
|
|
return true; |
|
|
|
} else { |
|
|
|
return false; |
|
|
|
} |
|
|
|
return dcBatchFunctionsJobGroup1 != null; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|