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;