|
@@ -88,6 +88,7 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements
|
|
|
//角色信息
|
|
|
GameUserRole gameUserRole = gameUserRoleService.getOne(new LambdaQueryWrapper<GameUserRole>()
|
|
|
.eq(GameUserRole::getGameId, userData.getGameId())
|
|
|
+ .eq(GameUserRole::getUserId, userData.getUserId())
|
|
|
.eq(GameUserRole::getRoleId, payParam.getRoleId()));
|
|
|
if (gameUserRole == null) {
|
|
|
throw new BaseException("参数错误, 角色信息不存在");
|