|
@@ -5279,7 +5279,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
Double costCount = records.get(0).getCostCount();
|
|
|
vo.setCostCount(costCount);
|
|
|
//用充值总数/总消耗
|
|
|
- if (amountCount != 0) {
|
|
|
+ if (amountCount != 0 && costCount != 0) {
|
|
|
//防止double转成科学计数法
|
|
|
BigDecimal costBigDecimal = new BigDecimal(costCount);
|
|
|
BigDecimal amountBigDecimal = new BigDecimal(amountCount);
|