boolean hasSla = false;
if (slaCalc == null) {
if (historySet.contains(jobId)) {
slaInfo = SLASummaryQueryExecutor.getInstance().get(SLASummaryQuery.GET_SLA_SUMMARY, jobId);
if (slaInfo == null) {
throw new JPAExecutorException(ErrorCode.E0604, jobId);
}
slaInfo.setJobStatus(jobStatus);
slaInfo.setActualStart(startTime);
slaInfo.setActualEnd(endTime);
if (endTime != null) {