微调
This commit is contained in:
@@ -308,7 +308,7 @@ public class GridServiceImpl implements IGridService {
|
||||
if (CollUtil.isNotEmpty(childrenList)) {
|
||||
int sum = childrenList.stream().mapToInt(EvaluationVo.Children::getSize).sum();
|
||||
if (lineList.size()!=0) {
|
||||
result.setLineRatio(NumberUtil.round(sum/lineList.size(),2).doubleValue());
|
||||
result.setLineRatio(NumberUtil.round(sum * 100.0 /lineList.size(),2).doubleValue());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user