游戏游玩记录新增gameMode字段
This commit is contained in:
parent
1917a4f814
commit
f3e4d80cc1
@ -40,6 +40,7 @@ public class GamePlayHistoryQryExe {
|
|||||||
co.setName(info.getName());
|
co.setName(info.getName());
|
||||||
co.setCover(info.getCover());
|
co.setCover(info.getCover());
|
||||||
co.setGameCode(info.getGameCode());
|
co.setGameCode(info.getGameCode());
|
||||||
|
co.setGameMode(info.getGameMode());
|
||||||
co.setGameOrigin(info.getGameOrigin());
|
co.setGameOrigin(info.getGameOrigin());
|
||||||
co.setPlayTime(history.getPlayTime());
|
co.setPlayTime(history.getPlayTime());
|
||||||
return co;
|
return co;
|
||||||
|
|||||||
@ -36,6 +36,7 @@ public class GamePlayHistoryRecordCmdExe {
|
|||||||
gameInfo.setCover(config.getCover());
|
gameInfo.setCover(config.getCover());
|
||||||
gameInfo.setGameCode(config.getGameCode());
|
gameInfo.setGameCode(config.getGameCode());
|
||||||
gameInfo.setGameOrigin(config.getGameOrigin());
|
gameInfo.setGameOrigin(config.getGameOrigin());
|
||||||
|
gameInfo.setGameMode(config.getGameMode());
|
||||||
|
|
||||||
UserGamePlayHistory history = new UserGamePlayHistory();
|
UserGamePlayHistory history = new UserGamePlayHistory();
|
||||||
history.setSysOrigin(cmd.getReqSysOrigin().getOrigin());
|
history.setSysOrigin(cmd.getReqSysOrigin().getOrigin());
|
||||||
|
|||||||
@ -24,6 +24,8 @@ public class GamePlayHistoryCO {
|
|||||||
|
|
||||||
private String gameCode;
|
private String gameCode;
|
||||||
|
|
||||||
|
private String gameMode;
|
||||||
|
|
||||||
private Timestamp playTime;
|
private Timestamp playTime;
|
||||||
|
|
||||||
private String gameOrigin;
|
private String gameOrigin;
|
||||||
|
|||||||
@ -2,6 +2,8 @@ package com.red.circle.other.infra.database.mongo.entity.game;
|
|||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.sql.Timestamp;
|
import java.sql.Timestamp;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.experimental.Accessors;
|
import lombok.experimental.Accessors;
|
||||||
import org.springframework.data.annotation.Id;
|
import org.springframework.data.annotation.Id;
|
||||||
@ -52,6 +54,7 @@ public class UserGamePlayHistory implements Serializable {
|
|||||||
private Long id;
|
private Long id;
|
||||||
private String gameId;
|
private String gameId;
|
||||||
private String gameOrigin;
|
private String gameOrigin;
|
||||||
|
private String gameMode;
|
||||||
private String name;
|
private String name;
|
||||||
private String cover;
|
private String cover;
|
||||||
private String gameCode;
|
private String gameCode;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user