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

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

View File

@ -37,5 +37,5 @@ public class ApiGameInfoResponseDTO {
/**
* id
*/
private Long systemGameId;
private String systemGameId;
}

View File

@ -266,7 +266,7 @@ public class GamesPGServiceImpl implements IGamesService {
game.setNameInfo(nameInfos);
gameService.updateGame(game);
}
apiGameInfoResponseDTO.setSystemGameId(game.getId());
apiGameInfoResponseDTO.setSystemGameId(game.getGameId());
}

View File

@ -61,7 +61,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
g.create_by,
g.create_time,
g.update_by,
g.update_time
g.update_time,
g.game_id
from ff_game g