refactor(game): 修改游戏 ID 类型并更新相关接口
-将 ApiGameInfoResponseDTO 中的 systemGameId 字段类型从 Long 改为 String - 在 GameMapper.xml 中添加 game_id 字段的查询 - 更新 GamesPGServiceImpl 中的代码,使用 game.getGameId() 替代 game.getId()main-DP
parent
908194d767
commit
82cd1456a5
|
@ -37,5 +37,5 @@ public class ApiGameInfoResponseDTO {
|
||||||
/**
|
/**
|
||||||
* 系统游戏id
|
* 系统游戏id
|
||||||
*/
|
*/
|
||||||
private Long systemGameId;
|
private String systemGameId;
|
||||||
}
|
}
|
||||||
|
|
|
@ -266,7 +266,7 @@ public class GamesPGServiceImpl implements IGamesService {
|
||||||
game.setNameInfo(nameInfos);
|
game.setNameInfo(nameInfos);
|
||||||
gameService.updateGame(game);
|
gameService.updateGame(game);
|
||||||
}
|
}
|
||||||
apiGameInfoResponseDTO.setSystemGameId(game.getId());
|
apiGameInfoResponseDTO.setSystemGameId(game.getGameId());
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,7 +61,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
g.create_by,
|
g.create_by,
|
||||||
g.create_time,
|
g.create_time,
|
||||||
g.update_by,
|
g.update_by,
|
||||||
g.update_time
|
g.update_time,
|
||||||
|
g.game_id
|
||||||
from ff_game g
|
from ff_game g
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue