Parcourir la source

:feat:游戏媒体留存

zhangxianyu il y a 7 mois
Parent
commit
716f5f5897

+ 3 - 3
game-data/game-data-serve/src/main/java/com/zanxiang/game/data/serve/pojo/vo/MediaActiveDataDayVO.java

@@ -103,6 +103,9 @@ public class MediaActiveDataDayVO implements Serializable {
     @ApiModelProperty(value = "老用户充值人数")
     private Long oldUserNum;
 
+    @ApiModelProperty(value = "当日充值成本 = 消耗 / 新用户累计充值人数")
+    private BigDecimal totalRechargeCost;
+
     /**
      * 老用户充值金额
      */
@@ -253,9 +256,6 @@ public class MediaActiveDataDayVO implements Serializable {
     @ApiModelProperty(value = "首日充值成本 = 消耗 / 首日新用户充值人数")
     private BigDecimal firstNewUserRechargeCost;
 
-    @ApiModelProperty(value = "充值成本 = 消耗 / 新用户累计充值人数")
-    private BigDecimal todayAmountCost;
-
     @ApiModelProperty(value = "单日付费100+人数")
     private Long hundredUserNum;
 

+ 2 - 2
game-data/game-data-serve/src/main/java/com/zanxiang/game/data/serve/service/impl/IActiveDataServiceImpl.java

@@ -567,7 +567,7 @@ public class IActiveDataServiceImpl implements IActiveDataService {
                                        register_cost as reg_cost,
                                        hundred_user_num,
                                        hundred_user_num_cost,
-                                       today_amount_cost,
+                                       today_amount_cost as total_recharge_cost,
                                        first_role_num,
                                        role_num,
                                        new_user_total_role_num,
@@ -743,7 +743,7 @@ public class IActiveDataServiceImpl implements IActiveDataService {
                                         register_cost as reg_cost,
                                        hundred_user_num,
                                        hundred_user_num_cost,
-                                       today_amount_cost,
+                                       today_amount_cost as total_recharge_cost,
                                        first_role_num,
                                        role_num,
                                        new_user_total_role_num,