Commit ecfe5163 authored by wangxl's avatar wangxl

1

parent 8d8ecc40
......@@ -104,6 +104,12 @@ public class ComEvaluationValueServiceImpl extends BaseServiceImpl<ComEvaluation
totalScore = totalScore.add(d.getScore());
}
d.setAssignId(assignId);
if (d.getValueType().equals(3)) {
BigDecimal score = new BigDecimal(0);
if (Objects.nonNull(d.getCount()))
score = d.getCount().multiply(new BigDecimal(1));
d.setScore(score);
}
ComEvaluationValue e = convert2Entity(d);
this.insert(e);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment