|
|
@ -587,7 +587,7 @@ public class LaborEducationServiceImpl implements LaborEducationService {
|
|
|
|
// 初始化知识块列表(从 appraise 配置中提取)
|
|
|
|
// 初始化知识块列表(从 appraise 配置中提取)
|
|
|
|
Set<String> knowledgeBlocks = new HashSet<>();
|
|
|
|
Set<String> knowledgeBlocks = new HashSet<>();
|
|
|
|
for (AppraiseTreeNode node : appraise.getNodes()) {
|
|
|
|
for (AppraiseTreeNode node : appraise.getNodes()) {
|
|
|
|
if (node.getName().equals("劳育")) {
|
|
|
|
if (node.getName().equals("德育")) {
|
|
|
|
for (AppraiseTreeNode child : node.getChildren()) {
|
|
|
|
for (AppraiseTreeNode child : node.getChildren()) {
|
|
|
|
knowledgeBlocks.add(child.getName());
|
|
|
|
knowledgeBlocks.add(child.getName());
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -706,7 +706,7 @@ public class LaborEducationServiceImpl implements LaborEducationService {
|
|
|
|
|
|
|
|
|
|
|
|
// 6. 初始化所有同层的父节点
|
|
|
|
// 6. 初始化所有同层的父节点
|
|
|
|
for (AppraiseTreeNode node : appraise.getNodes()) {
|
|
|
|
for (AppraiseTreeNode node : appraise.getNodes()) {
|
|
|
|
if (node.getName().equals("劳育")) {
|
|
|
|
if (node.getName().equals("德育")) {
|
|
|
|
for (AppraiseTreeNode child : node.getChildren()) {
|
|
|
|
for (AppraiseTreeNode child : node.getChildren()) {
|
|
|
|
if (!compositeClassScoreRates.containsKey(child.getName())) {
|
|
|
|
if (!compositeClassScoreRates.containsKey(child.getName())) {
|
|
|
|
compositeClassScoreRates.put(child.getName(), 0.0);
|
|
|
|
compositeClassScoreRates.put(child.getName(), 0.0);
|
|
|
|