|
|
@ -336,7 +336,7 @@ public class FactIndexServiceImpl implements FactIndexService { |
|
|
|
list.stream().filter(dto -> dto.getIndexCode().equals(result.getKey())).forEach(l -> { |
|
|
|
result.setShowType(l.getValueType()); |
|
|
|
//整数
|
|
|
|
if (FactConstant.DECIMAL.equals(l.getValueType())) { |
|
|
|
if (FactConstant.INTEGER.equals(l.getValueType())) { |
|
|
|
BigDecimal num = new BigDecimal(result.getValue()).setScale(0, BigDecimal.ROUND_HALF_UP); |
|
|
|
result.setValue(num.toString()); |
|
|
|
} |
|
|
|