diff --git a/src/main/java/cn/com/tenlion/service/examcheck/impl/ExamCheckServiceImpl.java b/src/main/java/cn/com/tenlion/service/examcheck/impl/ExamCheckServiceImpl.java index bf48862..e97b74b 100644 --- a/src/main/java/cn/com/tenlion/service/examcheck/impl/ExamCheckServiceImpl.java +++ b/src/main/java/cn/com/tenlion/service/examcheck/impl/ExamCheckServiceImpl.java @@ -294,7 +294,7 @@ public class ExamCheckServiceImpl extends DefaultBaseService implements IExamChe for (ClassPlanDTO classPlanDTO : classPlanDTOS) { if (StringUtils.equals(examCheckDTO.getPlanId(), classPlanDTO.getClassPlanId())) { // 开班计划中培训工种为多个 ','号分割 - String workTypeIds[] = classPlanDTO.getWorkerCatalog().split(","); + String[] workTypeIds = classPlanDTO.getWorkerCatalog().split(","); String workTypeNames = ""; for (int i = 0; i < workTypeIds.length; i++) { WorkTypeDTO workTypeDTO = workTypeService.get(workTypeIds[i]); @@ -309,7 +309,7 @@ public class ExamCheckServiceImpl extends DefaultBaseService implements IExamChe Integer checkStatus = examCheckDTO.getCheckStatus(); if (0 == checkStatus || -1 == checkStatus) { query.put("applyInstitutionId", examCheckDTO.getOrgId()); - query.put("applyWorkTypeId", examCheckDTO.getWorkTypeId()); + query.put("applyWorkTypeIds", Arrays.asList(workTypeIds)); List applyAuditStates = new ArrayList<>(); applyAuditStates.add("2"); query.put("applyAuditStates", applyAuditStates);