From 98d774555f6207ac07dbfb9c542b1b489839b827 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期五, 10 十二月 2021 16:01:48 +0800 Subject: [PATCH] 1. 自动评分调整 --- src/main/kotlin/cn/flightfeather/supervision/common/score/AutoScore.kt | 18 +++++++----------- 1 files changed, 7 insertions(+), 11 deletions(-) diff --git a/src/main/kotlin/cn/flightfeather/supervision/common/score/AutoScore.kt b/src/main/kotlin/cn/flightfeather/supervision/common/score/AutoScore.kt index d100e3a..e8a889e 100644 --- a/src/main/kotlin/cn/flightfeather/supervision/common/score/AutoScore.kt +++ b/src/main/kotlin/cn/flightfeather/supervision/common/score/AutoScore.kt @@ -280,21 +280,17 @@ } } ?: 0 // 鍐欏叆鏁版嵁搴� -// if (r > 0) { -// evaluationList.forEach { el -> evaluationMapper.insert(el) } -// itemevaluationList.forEach { il -> itemevaluationMapper.insert(il) } - for (e in evaluationList) { - if (e.ertype?.toInt()?.equals(0) == true) { - finalScore(e, year, eMonth, period) - break - } - } +// for (e in evaluationList) { +// if (e.ertype?.toInt()?.equals(0) == true) { +// finalScore(e, year, eMonth, period) +// break +// } // } } // 鍐欏叆鏂囨。 -// ExcelUtil.write2(emptyList(), contents, workbook) -// workbook.write(out) + ExcelUtil.write2(emptyList(), contents, workbook) + workbook.write(out) workbook.close() out.flush() out.close() -- Gitblit v1.9.3