|
@@ -7748,7 +7748,10 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
for (FlowMonitorVO record : records) {
|
|
|
amountCount += record.getTwentyfourAmount();
|
|
|
}
|
|
|
+ //把amountCount的小数点后保留四位
|
|
|
+ amountCount = new BigDecimal(amountCount).setScale(4, BigDecimal.ROUND_HALF_UP).doubleValue();
|
|
|
vo.setAmountCount(amountCount);
|
|
|
+
|
|
|
//取出总消耗
|
|
|
Double costCount = records.get(0).getCostCount();
|
|
|
vo.setCostCount(costCount);
|