|
@@ -131,7 +131,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(buyAmountD3[1]))
|
|
|
.increase(new BigDecimal(buyAmountD3[2]))
|
|
|
.back(new BigDecimal(buyAmountD3[3]))
|
|
|
- .multiples(new BigDecimal(buyAmountD3[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(buyAmountD3[4]))
|
|
|
.build());
|
|
|
|
|
|
String[] buyAmountD5 = vo.getBuyAmountD5().split("/");
|
|
@@ -140,7 +140,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(buyAmountD5[1]))
|
|
|
.increase(new BigDecimal(buyAmountD5[2]))
|
|
|
.back(new BigDecimal(buyAmountD5[3]))
|
|
|
- .multiples(new BigDecimal(buyAmountD5[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(buyAmountD5[4]))
|
|
|
.build());
|
|
|
|
|
|
String[] buyAmountD7 = vo.getBuyAmountD7().split("/");
|
|
@@ -149,7 +149,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(buyAmountD7[1]))
|
|
|
.increase(new BigDecimal(buyAmountD7[2]))
|
|
|
.back(new BigDecimal(buyAmountD7[3]))
|
|
|
- .multiples(new BigDecimal(buyAmountD7[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(buyAmountD7[4]))
|
|
|
.build());
|
|
|
|
|
|
String[] buyAmountD15 = vo.getBuyAmountD15().split("/");
|
|
@@ -158,7 +158,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(buyAmountD15[1]))
|
|
|
.increase(new BigDecimal(buyAmountD15[2]))
|
|
|
.back(new BigDecimal(buyAmountD15[3]))
|
|
|
- .multiples(new BigDecimal(buyAmountD15[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(buyAmountD15[4]))
|
|
|
.build());
|
|
|
|
|
|
String[] buyAmountM1 = vo.getBuyAmountM1().split("/");
|
|
@@ -167,7 +167,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(buyAmountM1[1]))
|
|
|
.increase(new BigDecimal(buyAmountM1[2]))
|
|
|
.back(new BigDecimal(buyAmountM1[3]))
|
|
|
- .multiples(new BigDecimal(buyAmountM1[4]).setScale(2, RoundingMode.HALF_UP).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(buyAmountM1[4]))
|
|
|
.build());
|
|
|
|
|
|
String[] buyAmountM2 = vo.getBuyAmountM2().split("/");
|
|
@@ -176,7 +176,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(buyAmountM2[1]))
|
|
|
.increase(new BigDecimal(buyAmountM2[2]))
|
|
|
.back(new BigDecimal(buyAmountM2[3]))
|
|
|
- .multiples(new BigDecimal(buyAmountM2[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(buyAmountM2[4]))
|
|
|
.build());
|
|
|
|
|
|
String[] buyAmountM3 = vo.getBuyAmountM3().split("/");
|
|
@@ -185,7 +185,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(buyAmountM3[1]))
|
|
|
.increase(new BigDecimal(buyAmountM3[2]))
|
|
|
.back(new BigDecimal(buyAmountM3[3]))
|
|
|
- .multiples(new BigDecimal(buyAmountM3[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(buyAmountM3[4]))
|
|
|
.build());
|
|
|
|
|
|
String[] buyAmountM6 = vo.getBuyAmountM6().split("/");
|
|
@@ -194,7 +194,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(buyAmountM6[1]))
|
|
|
.increase(new BigDecimal(buyAmountM6[2]))
|
|
|
.back(new BigDecimal(buyAmountM6[3]))
|
|
|
- .multiples(new BigDecimal(buyAmountM6[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(buyAmountM6[4]))
|
|
|
.build());
|
|
|
|
|
|
String[] buyAmountSum = vo.getBuyAmountSum().split("/");
|
|
@@ -203,7 +203,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(buyAmountSum[1]))
|
|
|
.increase(new BigDecimal(buyAmountSum[2]))
|
|
|
.back(new BigDecimal(buyAmountSum[3]))
|
|
|
- .multiples(new BigDecimal(buyAmountSum[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(buyAmountSum[4]))
|
|
|
.build());
|
|
|
|
|
|
//自然量数据
|
|
@@ -213,7 +213,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(natureAmountD1[1]))
|
|
|
.increase(new BigDecimal(natureAmountD1[2]))
|
|
|
.back(new BigDecimal(natureAmountD1[3]))
|
|
|
- .multiples(new BigDecimal(natureAmountD1[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(natureAmountD1[4]))
|
|
|
.build());
|
|
|
|
|
|
String[] natureAmountD3 = vo.getNatureAmountD3().split("/");
|
|
@@ -222,7 +222,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(natureAmountD3[1]))
|
|
|
.increase(new BigDecimal(natureAmountD3[2]))
|
|
|
.back(new BigDecimal(natureAmountD3[3]))
|
|
|
- .multiples(new BigDecimal(natureAmountD3[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(natureAmountD3[4]))
|
|
|
.build());
|
|
|
|
|
|
String[] natureAmountD5 = vo.getNatureAmountD5().split("/");
|
|
@@ -231,7 +231,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(natureAmountD5[1]))
|
|
|
.increase(new BigDecimal(natureAmountD5[2]))
|
|
|
.back(new BigDecimal(natureAmountD5[3]))
|
|
|
- .multiples(new BigDecimal(natureAmountD5[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(natureAmountD5[4]))
|
|
|
.build());
|
|
|
|
|
|
String[] natureAmountD7 = vo.getNatureAmountD7().split("/");
|
|
@@ -240,7 +240,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(natureAmountD7[1]))
|
|
|
.increase(new BigDecimal(natureAmountD7[2]))
|
|
|
.back(new BigDecimal(natureAmountD7[3]))
|
|
|
- .multiples(new BigDecimal(natureAmountD7[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(natureAmountD7[4]))
|
|
|
.build());
|
|
|
|
|
|
String[] natureAmountD15 = vo.getNatureAmountD15().split("/");
|
|
@@ -249,7 +249,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(natureAmountD15[1]))
|
|
|
.increase(new BigDecimal(natureAmountD15[2]))
|
|
|
.back(new BigDecimal(natureAmountD15[3]))
|
|
|
- .multiples(new BigDecimal(natureAmountD15[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(natureAmountD15[4]))
|
|
|
.build());
|
|
|
|
|
|
String[] natureAmountM1 = vo.getNatureAmountM1().split("/");
|
|
@@ -258,7 +258,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(natureAmountM1[1]))
|
|
|
.increase(new BigDecimal(natureAmountM1[2]))
|
|
|
.back(new BigDecimal(natureAmountM1[3]))
|
|
|
- .multiples(new BigDecimal(natureAmountM1[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(natureAmountM1[4]))
|
|
|
.build());
|
|
|
|
|
|
String[] natureAmountM2 = vo.getNatureAmountM2().split("/");
|
|
@@ -267,7 +267,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(natureAmountM2[1]))
|
|
|
.increase(new BigDecimal(natureAmountM2[2]))
|
|
|
.back(new BigDecimal(natureAmountM2[3]))
|
|
|
- .multiples(new BigDecimal(natureAmountM2[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(natureAmountM2[4]))
|
|
|
.build());
|
|
|
|
|
|
String[] natureAmountM3 = vo.getNatureAmountM3().split("/");
|
|
@@ -276,7 +276,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(natureAmountM3[1]))
|
|
|
.increase(new BigDecimal(natureAmountM3[2]))
|
|
|
.back(new BigDecimal(natureAmountM3[3]))
|
|
|
- .multiples(new BigDecimal(natureAmountM3[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(natureAmountM3[4]))
|
|
|
.build());
|
|
|
|
|
|
String[] natureAmountM6 = vo.getNatureAmountM6().split("/");
|
|
@@ -285,7 +285,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(natureAmountM6[1]))
|
|
|
.increase(new BigDecimal(natureAmountM6[2]))
|
|
|
.back(new BigDecimal(natureAmountM6[3]))
|
|
|
- .multiples(new BigDecimal(natureAmountM6[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(natureAmountM6[4]))
|
|
|
.build());
|
|
|
|
|
|
String[] natureAmountSum = vo.getNatureAmountSum().split("/");
|
|
@@ -294,7 +294,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(natureAmountSum[1]))
|
|
|
.increase(new BigDecimal(natureAmountSum[2]))
|
|
|
.back(new BigDecimal(natureAmountSum[3]))
|
|
|
- .multiples(new BigDecimal(natureAmountSum[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(natureAmountSum[4]))
|
|
|
.build());
|
|
|
|
|
|
//总量数据
|
|
@@ -315,7 +315,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(amountD3[1]))
|
|
|
.increase(new BigDecimal(amountD3[2]))
|
|
|
.back(new BigDecimal(amountD3[3]))
|
|
|
- .multiples(new BigDecimal(amountD3[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(amountD3[4]))
|
|
|
.build());
|
|
|
|
|
|
String[] amountD5 = vo.getAmountD5().split("/");
|
|
@@ -324,7 +324,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(amountD5[1]))
|
|
|
.increase(new BigDecimal(amountD5[2]))
|
|
|
.back(new BigDecimal(amountD5[3]))
|
|
|
- .multiples(new BigDecimal(amountD5[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(amountD5[4]))
|
|
|
.build());
|
|
|
|
|
|
String[] amountD7 = vo.getAmountD7().split("/");
|
|
@@ -333,7 +333,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(amountD7[1]))
|
|
|
.increase(new BigDecimal(amountD7[2]))
|
|
|
.back(new BigDecimal(amountD7[3]))
|
|
|
- .multiples(new BigDecimal(amountD7[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(amountD7[4]))
|
|
|
.build());
|
|
|
|
|
|
String[] amountD15 = vo.getAmountD15().split("/");
|
|
@@ -342,7 +342,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(amountD15[1]))
|
|
|
.increase(new BigDecimal(amountD15[2]))
|
|
|
.back(new BigDecimal(amountD15[3]))
|
|
|
- .multiples(new BigDecimal(amountD15[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(amountD15[4]))
|
|
|
.build());
|
|
|
|
|
|
String[] amountM1 = vo.getAmountM1().split("/");
|
|
@@ -351,7 +351,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(amountM1[1]))
|
|
|
.increase(new BigDecimal(amountM1[2]))
|
|
|
.back(new BigDecimal(amountM1[3]))
|
|
|
- .multiples(new BigDecimal(amountM1[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(amountM1[4]))
|
|
|
.build());
|
|
|
|
|
|
String[] amountM2 = vo.getAmountM2().split("/");
|
|
@@ -360,7 +360,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(amountM2[1]))
|
|
|
.increase(new BigDecimal(amountM2[2]))
|
|
|
.back(new BigDecimal(amountM2[3]))
|
|
|
- .multiples(new BigDecimal(amountM2[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(amountM2[4]))
|
|
|
.build());
|
|
|
|
|
|
String[] amountM3 = vo.getAmountM3().split("/");
|
|
@@ -369,7 +369,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(amountM3[1]))
|
|
|
.increase(new BigDecimal(amountM3[2]))
|
|
|
.back(new BigDecimal(amountM3[3]))
|
|
|
- .multiples(new BigDecimal(amountM3[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(amountM3[4]))
|
|
|
.build());
|
|
|
|
|
|
String[] amountM6 = vo.getAmountM6().split("/");
|
|
@@ -378,7 +378,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(amountM6[1]))
|
|
|
.increase(new BigDecimal(amountM6[2]))
|
|
|
.back(new BigDecimal(amountM6[3]))
|
|
|
- .multiples(new BigDecimal(amountM6[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(amountM6[4]))
|
|
|
.build());
|
|
|
|
|
|
String[] amountSum = vo.getAmountSum().split("/");
|
|
@@ -387,7 +387,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(amountSum[1]))
|
|
|
.increase(new BigDecimal(amountSum[2]))
|
|
|
.back(new BigDecimal(amountSum[3]))
|
|
|
- .multiples(new BigDecimal(amountSum[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(amountSum[4]))
|
|
|
.build());
|
|
|
|
|
|
return vo;
|
|
@@ -1147,7 +1147,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
.rechargeUserCount(Long.valueOf(strs[1]))
|
|
|
.increase(new BigDecimal(strs[2]))
|
|
|
.back(new BigDecimal(strs[3]))
|
|
|
- .multiples(new BigDecimal(strs[4]).setScale(2, RoundingMode.HALF_UP))
|
|
|
+ .multiples(new BigDecimal(strs[4]))
|
|
|
.build());
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|