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