From 289b34c4779b8225ee265cacb78a2161dbb5f9fa Mon Sep 17 00:00:00 2001 From: "hhb@hotmail.com" Date: Thu, 13 Mar 2025 16:30:32 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=8F=82=E6=95=B0=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/service/impl/LaborEducationServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/cn/teammodel/controller/admin/service/impl/LaborEducationServiceImpl.java b/src/main/java/cn/teammodel/controller/admin/service/impl/LaborEducationServiceImpl.java index 390c6b5..3aa13e6 100644 --- a/src/main/java/cn/teammodel/controller/admin/service/impl/LaborEducationServiceImpl.java +++ b/src/main/java/cn/teammodel/controller/admin/service/impl/LaborEducationServiceImpl.java @@ -587,7 +587,7 @@ public class LaborEducationServiceImpl implements LaborEducationService { // 初始化知识块列表(从 appraise 配置中提取) Set knowledgeBlocks = new HashSet<>(); for (AppraiseTreeNode node : appraise.getNodes()) { - if (node.getName().equals("劳育")) { + if (node.getName().equals("德育")) { for (AppraiseTreeNode child : node.getChildren()) { knowledgeBlocks.add(child.getName()); } @@ -706,7 +706,7 @@ public class LaborEducationServiceImpl implements LaborEducationService { // 6. 初始化所有同层的父节点 for (AppraiseTreeNode node : appraise.getNodes()) { - if (node.getName().equals("劳育")) { + if (node.getName().equals("德育")) { for (AppraiseTreeNode child : node.getChildren()) { if (!compositeClassScoreRates.containsKey(child.getName())) { compositeClassScoreRates.put(child.getName(), 0.0);