From e0579f074633ff33bbc7d948778773d6e6f852ef Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Thu, 12 Mar 2026 14:18:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=B8=E6=88=8F=E6=B8=B8=E7=8E=A9=E5=8E=86?= =?UTF-8?q?=E5=8F=B2=E5=A2=9E=E5=8A=A0gameOrigin?= 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 | 1 + 4 files changed, 5 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 8d6018dc..4ff2e3ec 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.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 52080978..6c83297e 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 @@ -35,6 +35,7 @@ public class GamePlayHistoryRecordCmdExe { gameInfo.setName(config.getName()); gameInfo.setCover(config.getCover()); gameInfo.setGameCode(config.getGameCode()); + gameInfo.setGameOrigin(config.getGameOrigin()); 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 e71d9690..317d1083 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 @@ -25,4 +25,6 @@ public class GamePlayHistoryCO { private String gameCode; 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 c74348c3..a76aca8f 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 @@ -51,6 +51,7 @@ public class UserGamePlayHistory implements Serializable { public static class GameInfo { private Long id; private String gameId; + private String gameOrigin; private String name; private String cover; private String gameCode;