refactor(game): 修改游戏 ID 类型并更新相关接口

-将 ApiGameInfoResponseDTO 中的 systemGameId 字段类型从 Long 改为 String
- 在 GameMapper.xml 中添加 game_id 字段的查询
- 更新 GamesPGServiceImpl 中的代码,使用 game.getGameId() 替代 game.getId()
main-DP
shi 2025-04-11 19:43:01 +08:00
parent f097c0f8aa
commit e12fd287be
4 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ public enum PlatformType {
GAME_HALL(3, "游戏大厅"),
FISHING(4, "捕鱼"),
BETTING_MACHINE(5, "押分机 (含宾果)"),
VIDEO(6, "视讯"),
VIDEO(6, "真人视讯"),
LOTTERY(7, "彩票"),
SPORTS(8, "体育"),
HUNTING(9, "捕猎"),

View File

@ -205,9 +205,9 @@ public class GamesAEServiceImpl implements IGamesService {
if (ObjectUtils.isEmpty(game)) {
game = new Game();
game.setId(GAME_ID);
game.setSortNo(gameService.selectMaxSortNo(PlatformType.GAME_HALL.getCode(), GamePlatforms.AE.getCode()) + 1);
game.setSortNo(gameService.selectMaxSortNo(PlatformType.VIDEO.getCode(), GamePlatforms.AE.getCode()) + 1);
game.setPlatformCode(platform.getPlatformCode());
game.setPlatformType(PlatformType.GAME_HALL.getCode());
game.setPlatformType(PlatformType.VIDEO.getCode());
game.setGameCode("1");
game.setGameSourceType(String.valueOf(1));
game.setGameName("AE大厅");

View File

@ -196,7 +196,7 @@ public class GamesDGServiceImpl implements IGamesService {
game.setId(GAME_ID);
game.setSortNo(1);
game.setPlatformCode(GamePlatforms.DG.getCode());
game.setPlatformType(PlatformType.GAME_HALL.getCode());
game.setPlatformType(PlatformType.VIDEO.getCode());
game.setGameCode("1");
game.setGameSourceType(String.valueOf(1));
game.setGameName("真人棋牌");

View File

@ -224,7 +224,7 @@ public class GamesSAServiceImpl implements IGamesService {
public String getGameList(GamesBaseRequestDTO gamesBaseRequestDTO) {
Game game = gameService.selectGameById(GAME_ID);
Integer platformType = PlatformType.CARD_GAME.getCode();
Integer platformType = PlatformType.VIDEO.getCode();
//不存在这个游戏
if (ObjectUtils.isEmpty(game)) {
game = new Game();