|
|
@@ -563,7 +563,6 @@ public class SmartEvaluateTeacherController implements SmartEvaluateTeacherContr
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
BigDecimal ownScore = new BigDecimal(0.0);
|
|
|
BigDecimal avgScore = new BigDecimal(0.0);
|
|
|
- Integer num = 0;
|
|
|
List<SmartScoreManage> childs = scoreManages.stream().filter(e -> e.getParentId().equals(parentData.getId())).collect(Collectors.toList());
|
|
|
for (SmartScoreManage child : childs) {
|
|
|
List<SmartEvaluateTdetail> childDatas =detailList.stream().filter(e -> e.getScoreManageId().equals(child.getId())).collect(Collectors.toList());
|
|
|
@@ -571,7 +570,7 @@ public class SmartEvaluateTeacherController implements SmartEvaluateTeacherContr
|
|
|
if (childData.getUserId().equals(teacher.getUserId())) {
|
|
|
ownScore = ownScore.add(new BigDecimal(childData.getOwnNum()));
|
|
|
}
|
|
|
- avgScore.add(new BigDecimal(childData.getOwnNum()));
|
|
|
+ avgScore = avgScore.add(new BigDecimal(childData.getOwnNum()));
|
|
|
}
|
|
|
}
|
|
|
|