|
@@ -5299,7 +5299,7 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
|
|
|
|
//计算回收率 充值金额/总消耗
|
|
//计算回收率 充值金额/总消耗
|
|
for (FlowMonitorVO vo : list) {
|
|
for (FlowMonitorVO vo : list) {
|
|
- DecimalFormat df = new DecimalFormat("#.00");
|
|
|
|
|
|
+ DecimalFormat df = new DecimalFormat("#.####");
|
|
|
|
|
|
vo.setCostCount(costCount);
|
|
vo.setCostCount(costCount);
|
|
vo.setCostBeginDate(dto.getCostBeginDate());
|
|
vo.setCostBeginDate(dto.getCostBeginDate());
|
|
@@ -5701,13 +5701,13 @@ public class GameDataServiceImpl implements IGameDataService {
|
|
select day as order_date,
|
|
select day as order_date,
|
|
source_system,
|
|
source_system,
|
|
ten_amount,
|
|
ten_amount,
|
|
- if(yesterday_amount>0,round(ten_amount/yesterday_amount,2),0)*100 ten_rate,
|
|
|
|
|
|
+ if(yesterday_amount>0,round(ten_amount/yesterday_amount,4),0)*100 ten_rate,
|
|
fourteen_amount,
|
|
fourteen_amount,
|
|
- if(yesterday_amount>0,round(fourteen_amount/yesterday_amount,2),0)*100 fourteen_rate,
|
|
|
|
|
|
+ if(yesterday_amount>0,round(fourteen_amount/yesterday_amount,4),0)*100 fourteen_rate,
|
|
seventeen_amount,
|
|
seventeen_amount,
|
|
- if(yesterday_amount>0,round(seventeen_amount/yesterday_amount,2),0)*100 seventeen_rate,
|
|
|
|
|
|
+ if(yesterday_amount>0,round(seventeen_amount/yesterday_amount,4),0)*100 seventeen_rate,
|
|
twentyfour_amount,
|
|
twentyfour_amount,
|
|
- if(yesterday_amount>0,round(twentyfour_amount/yesterday_amount,2),0)*100 twentyfour_rate,
|
|
|
|
|
|
+ if(yesterday_amount>0,round(twentyfour_amount/yesterday_amount,4),0)*100 twentyfour_rate,
|
|
yesterday_amount
|
|
yesterday_amount
|
|
from (
|
|
from (
|
|
select day,
|
|
select day,
|