浏览代码

fix : 游戏授权模块修改2

bilingfeng 1 年之前
父节点
当前提交
176af3d837

+ 1 - 1
game-module/game-module-manage/src/main/java/com/zanxiang/game/module/manage/service/impl/GameAuthServiceImpl.java

@@ -118,8 +118,8 @@ public class GameAuthServiceImpl extends ServiceImpl<GameAuthMapper, GameAuth> i
         //修改
         return super.update(new LambdaUpdateWrapper<GameAuth>()
                 .set(GameAuth::getGameId, param.getGameId())
-                .set(GameAuth::getUpdateBy, SecurityUtil.getUserId())
                 .set(GameAuth::getDefaultAgent, param.getDefaultAgent())
+                .set(GameAuth::getUpdateBy, SecurityUtil.getUserId())
                 .set(GameAuth::getUpdateTime, LocalDateTime.now())
                 .eq(GameAuth::getId, param.getId()));
     }