From b059e566f0ebc98b6e5a534d2700abae2bb10289 Mon Sep 17 00:00:00 2001 From: TS-QD1 Date: Tue, 21 Mar 2023 09:19:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E5=A4=8D=E5=90=88=E5=B7=A5?= =?UTF-8?q?=E7=A7=8D=E5=BC=80=E7=8F=AD=E5=AF=BC=E8=87=B4=E7=9A=84=E5=8F=82?= =?UTF-8?q?=E5=9F=B9=E4=BA=BA=E6=95=B0=E7=BB=9F=E8=AE=A1=E4=B8=8D=E4=B8=8A?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tenlion/service/examcheck/impl/ExamCheckServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);