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; } }