This commit is contained in:
wr
2025-12-15 13:56:14 +08:00
parent 47b08d4797
commit 371d4efb29

View File

@@ -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());
}
}
}