Explorar o código

fix : 游戏授权模块修改2

bilingfeng hai 1 ano
pai
achega
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>()
         return super.update(new LambdaUpdateWrapper<GameAuth>()
                 .set(GameAuth::getGameId, param.getGameId())
                 .set(GameAuth::getGameId, param.getGameId())
-                .set(GameAuth::getUpdateBy, SecurityUtil.getUserId())
                 .set(GameAuth::getDefaultAgent, param.getDefaultAgent())
                 .set(GameAuth::getDefaultAgent, param.getDefaultAgent())
+                .set(GameAuth::getUpdateBy, SecurityUtil.getUserId())
                 .set(GameAuth::getUpdateTime, LocalDateTime.now())
                 .set(GameAuth::getUpdateTime, LocalDateTime.now())
                 .eq(GameAuth::getId, param.getId()));
                 .eq(GameAuth::getId, param.getId()));
     }
     }