处理复合工种开班导致的参培人数统计不上的问题
This commit is contained in:
parent
22da7c3ee7
commit
b059e566f0
@ -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<String> applyAuditStates = new ArrayList<>();
|
||||
applyAuditStates.add("2");
|
||||
query.put("applyAuditStates", applyAuditStates);
|
||||
|
Loading…
Reference in New Issue
Block a user