From f3e4d80cc157e3e559cd7420cde5e82f763a8226 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Thu, 12 Mar 2026 15:36:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=B8=E6=88=8F=E6=B8=B8=E7=8E=A9=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E6=96=B0=E5=A2=9EgameMode=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../circle/other/app/command/game/GamePlayHistoryQryExe.java | 1 + .../other/app/command/game/GamePlayHistoryRecordCmdExe.java | 1 + .../other/app/dto/clientobject/game/GamePlayHistoryCO.java | 2 ++ .../infra/database/mongo/entity/game/UserGamePlayHistory.java | 3 +++ 4 files changed, 7 insertions(+) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/game/GamePlayHistoryQryExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/game/GamePlayHistoryQryExe.java index 4ff2e3ec..5a2acd4b 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/game/GamePlayHistoryQryExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/game/GamePlayHistoryQryExe.java @@ -40,6 +40,7 @@ public class GamePlayHistoryQryExe { co.setName(info.getName()); co.setCover(info.getCover()); co.setGameCode(info.getGameCode()); + co.setGameMode(info.getGameMode()); co.setGameOrigin(info.getGameOrigin()); co.setPlayTime(history.getPlayTime()); return co; diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/game/GamePlayHistoryRecordCmdExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/game/GamePlayHistoryRecordCmdExe.java index 6c83297e..425f2a77 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/game/GamePlayHistoryRecordCmdExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/game/GamePlayHistoryRecordCmdExe.java @@ -36,6 +36,7 @@ public class GamePlayHistoryRecordCmdExe { gameInfo.setCover(config.getCover()); gameInfo.setGameCode(config.getGameCode()); gameInfo.setGameOrigin(config.getGameOrigin()); + gameInfo.setGameMode(config.getGameMode()); UserGamePlayHistory history = new UserGamePlayHistory(); history.setSysOrigin(cmd.getReqSysOrigin().getOrigin()); diff --git a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/game/GamePlayHistoryCO.java b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/game/GamePlayHistoryCO.java index 317d1083..8e806df7 100644 --- a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/game/GamePlayHistoryCO.java +++ b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/game/GamePlayHistoryCO.java @@ -24,6 +24,8 @@ public class GamePlayHistoryCO { private String gameCode; + private String gameMode; + private Timestamp playTime; private String gameOrigin; diff --git a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/mongo/entity/game/UserGamePlayHistory.java b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/mongo/entity/game/UserGamePlayHistory.java index a76aca8f..276c9e19 100644 --- a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/mongo/entity/game/UserGamePlayHistory.java +++ b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/mongo/entity/game/UserGamePlayHistory.java @@ -2,6 +2,8 @@ package com.red.circle.other.infra.database.mongo.entity.game; import java.io.Serializable; import java.sql.Timestamp; + +import com.baomidou.mybatisplus.annotation.TableField; import lombok.Data; import lombok.experimental.Accessors; import org.springframework.data.annotation.Id; @@ -52,6 +54,7 @@ public class UserGamePlayHistory implements Serializable { private Long id; private String gameId; private String gameOrigin; + private String gameMode; private String name; private String cover; private String gameCode;