final List evaluationExaminers = new ArrayList<>();\n\n// 中层民主测评数据迭代器\nfinal ListIterator listIterator = midLevelDemocracyEvaluations.listIterator();\n// Excel第一行一定有值,将第一行数据设置为中层民主数据标准\nfinal MidLevelDemocracyEvaluationVO standardMiddleEvaluation = listIterator.next();\n\nwhile (listIterator.hasNext()) {\n final MidLevelDemocracyEvaluationVO currentMiddleEvaluation = listIterator.next();\n\n if (StringUtils.isBlank(currentMiddleEvaluation.getAppraiseeName())) {\n setMidLevelEvaluationInfo(standardMiddleEvaluation, currentMiddleEvaluation, templateCode);\n break;\n }\n\n evaluationExaminers.add(createEvaluationExaminer(activityId, loginUserPojo, currentMiddleEvaluation, appraiseeEmpCodeMap, examinerEmpMap));\n leaderIncorruptibleEvaluationConvertMapper.copyMidLevelEvalaution(currentMiddleEvaluation, standardMiddleEvaluation);\n}\n\nreturn evaluationExaminers;

Java代码优化: 中层民主测评数据处理

原文地址: https://www.cveoy.top/t/topic/qqMK 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录