|
|
@@ -547,6 +547,15 @@ public class StatisticsDataServiceImpl implements StatisticsDataService {
|
|
|
BigDecimal realApplyMoney = statisticsExportMapper.getRealApplyMoney(endDate);
|
|
|
excelMonthlyDistributeOrderData.setRealApplyMoney(realApplyMoney);
|
|
|
|
|
|
+ //分销转账数据
|
|
|
+ Map<String, BigDecimal> transferDataMap = statisticsExportMapper.getTransferData(startDate, endDate);
|
|
|
+ BigDecimal autoMoney = Optional.ofNullable(transferDataMap.get("autoMoney")).orElse(BigDecimal.ZERO).divide(BigDecimal.valueOf(100));
|
|
|
+ BigDecimal usdtMoney = Optional.ofNullable(transferDataMap.get("usdtMoney")).orElse(BigDecimal.ZERO).divide(BigDecimal.valueOf(100));
|
|
|
+ BigDecimal manualMoney = Optional.ofNullable(transferDataMap.get("manualMoney")).orElse(BigDecimal.ZERO).divide(BigDecimal.valueOf(100));
|
|
|
+ excelMonthlyDistributeOrderData.setAutoMoney(autoMoney);
|
|
|
+ excelMonthlyDistributeOrderData.setUsdtMoney(usdtMoney);
|
|
|
+ excelMonthlyDistributeOrderData.setManualMoney(manualMoney);
|
|
|
+
|
|
|
//下单率
|
|
|
//自然渠道用户数
|
|
|
Integer natureUserSourceNum = statisticsExportMapper.getMonthUserSourceNumByType(1, startDate, endDate);
|