Parcourir la source

fix : bug调试修改

bilingfeng il y a 1 an
Parent
commit
84923cdcdb

+ 1 - 1
game-module/game-module-sdk/src/main/java/com/zanxiang/game/module/sdk/service/impl/AgentServiceImpl.java

@@ -53,7 +53,7 @@ public class AgentServiceImpl extends ServiceImpl<AgentMapper, Agent> implements
         List<UserLoginLog> userLoginLogList = userLoginLogService.list(new LambdaQueryWrapper<UserLoginLog>()
         List<UserLoginLog> userLoginLogList = userLoginLogService.list(new LambdaQueryWrapper<UserLoginLog>()
                 .eq(UserLoginLog::getUserId, user.getId())
                 .eq(UserLoginLog::getUserId, user.getId())
                 .orderByDesc(UserLoginLog::getCreateTime)
                 .orderByDesc(UserLoginLog::getCreateTime)
-                .apply("limit 1"));
+                .last("limit 1"));
         if (CollectionUtils.isEmpty(userLoginLogList)) {
         if (CollectionUtils.isEmpty(userLoginLogList)) {
             return;
             return;
         }
         }