Przeglądaj źródła

添加游戏期号

kk 3 miesięcy temu
rodzic
commit
cb9e9f6a17

+ 5 - 0
game-business/src/main/java/com/game/business/domain/AppUserGameRecordCount.java

@@ -26,6 +26,11 @@ public class AppUserGameRecordCount {
     @ApiModelProperty(value = "游戏ID")
     private Long gameId;
 
+    @Excel(name = "游戏期号")
+    @TableField(value = "game_date")
+    @ApiModelProperty(value = "游戏期号")
+    private String gameDate;
+
     @Excel(name = "用户ID")
     @TableField(value = "user_id")
     @ApiModelProperty(value = "用户ID")

+ 2 - 0
game-business/src/main/java/com/game/business/task/AppAgentGameBettingTask.java

@@ -160,6 +160,7 @@ public class AppAgentGameBettingTask {
 
             AppUserGameRecordCount appUserGameRecordCount = new AppUserGameRecordCount();
             appUserGameRecordCount.setGameId(appGameBetting.getGameId());
+            appUserGameRecordCount.setGameDate(appGameBetting.getGameDate());
             appUserGameRecordCount.setUserId(appUser.getUserid());
             appUserGameRecordCount.setPid(appUser.getPid());
             appUserGameRecordCount.setCreateTime(new Date());
@@ -263,6 +264,7 @@ public class AppAgentGameBettingTask {
 
         AppUserGameRecordCount appUserGameRecordCount = new AppUserGameRecordCount();
         appUserGameRecordCount.setGameId(appGameBetting.getGameId());
+        appUserGameRecordCount.setGameDate(appGameBetting.getGameDate());
         appUserGameRecordCount.setUserId(appUser.getUserid());
         appUserGameRecordCount.setPid(appUser.getPid());
         appUserGameRecordCount.setCreateTime(new Date());