|
@@ -61,6 +61,7 @@ public class ScoreCalculationSchedule {
|
|
|
if (StringUtils.isNotEmpty(id)) {
|
|
|
qw1.lambda().eq(EvaluationScoreCount::getOrganizationEvaluationId, id);
|
|
|
}
|
|
|
+ qw1.lambda().eq(EvaluationScoreCount::getIsQuantified, true);
|
|
|
List<EvaluationScoreCount> evaluationScoreCountList = iEvaluatioinScoreCountService.list(qw1);
|
|
|
if (evaluationScoreCountList.size() >0){
|
|
|
List<String> idList = evaluationScoreCountList.stream().map(EvaluationScoreCount::getId).collect(Collectors.toList());
|
|
@@ -104,6 +105,8 @@ public class ScoreCalculationSchedule {
|
|
|
.organizationEvaluationRuleId(entry.getKey())
|
|
|
.organizationEvaluationId(organizationEvaluation.getId())
|
|
|
.score(Double.parseDouble(calculation))
|
|
|
+ .isQuantified(true)
|
|
|
+ .obversionScore(Double.parseDouble(calculation))
|
|
|
.build();
|
|
|
save = iEvaluatioinScoreCountService.save(evaluationScoreCount);
|
|
|
}
|