From 426d57a830e8b5902ddd612771dbe740d36200a4 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Thu, 12 Mar 2026 18:54:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=86=E5=8F=B2=E6=B8=B8=E7=8E=A9=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E5=A2=9E=E5=8A=A0=E5=AE=BD=E9=AB=98=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../other/app/command/game/GamePlayHistoryQryExe.java | 2 ++ .../app/command/game/GamePlayHistoryRecordCmdExe.java | 2 ++ .../app/dto/clientobject/game/GamePlayHistoryCO.java | 10 ++++++++++ .../mongo/entity/game/UserGamePlayHistory.java | 9 +++++++++ 4 files changed, 23 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 5a2acd4b..58345d10 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 @@ -43,6 +43,8 @@ public class GamePlayHistoryQryExe { co.setGameMode(info.getGameMode()); co.setGameOrigin(info.getGameOrigin()); co.setPlayTime(history.getPlayTime()); + co.setHeight(info.getHeight()); + co.setWidth(info.getWidth()); 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 425f2a77..3c16a627 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 @@ -37,6 +37,8 @@ public class GamePlayHistoryRecordCmdExe { gameInfo.setGameCode(config.getGameCode()); gameInfo.setGameOrigin(config.getGameOrigin()); gameInfo.setGameMode(config.getGameMode()); + gameInfo.setHeight(config.getHeight()); + gameInfo.setWidth(config.getWidth()); 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 8e806df7..f02a31da 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 @@ -29,4 +29,14 @@ public class GamePlayHistoryCO { private Timestamp playTime; private String gameOrigin; + + /** + * 高 + */ + private Double height; + + /** + * 宽 + */ + private Double width; } 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 276c9e19..d5e02526 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 @@ -58,5 +58,14 @@ public class UserGamePlayHistory implements Serializable { private String name; private String cover; private String gameCode; + /** + * 高 + */ + private Double height; + + /** + * 宽 + */ + private Double width; } }