增加导入导出题目,增加用户页面的最近登录
This commit is contained in:
parent
dc3249db42
commit
5581ec931e
|
@ -8,8 +8,8 @@
|
|||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||
<outputRelativeToContentRoot value="true" />
|
||||
<module name="api" />
|
||||
<module name="JudgeServer" />
|
||||
<module name="DataBackup" />
|
||||
<module name="JudgeServer" />
|
||||
</profile>
|
||||
</annotationProcessing>
|
||||
</component>
|
||||
|
|
|
@ -358,7 +358,7 @@ public class AccountController {
|
|||
|
||||
userHomeInfo.setSolvedList(disPlayIdList);
|
||||
QueryWrapper<Session> sessionQueryWrapper = new QueryWrapper<>();
|
||||
sessionQueryWrapper.eq("uid", userRolesVo.getUid()).orderByDesc("gmt_create").last("limit 1");
|
||||
sessionQueryWrapper.eq("uid", uid).orderByDesc("gmt_create").last("limit 1");
|
||||
|
||||
Session recentSession = sessionDao.selectOne(sessionQueryWrapper);
|
||||
if (recentSession != null) {
|
||||
|
|
Loading…
Reference in New Issue