Update UmsAdminServiceImpl.java

This commit is contained in:
macro 2025-06-09 17:03:19 +08:00
parent bbd593e869
commit 83fe3e707b

View File

@ -62,7 +62,7 @@ public class UmsAdminServiceImpl implements UmsAdminService {
//先从缓存中获取数据
UmsAdmin admin = getCacheService().getAdmin(username);
if (admin != null) return admin;
//缓存中没有从数据库中获取
//缓存中没有从数据库中获取
UmsAdminExample example = new UmsAdminExample();
example.createCriteria().andUsernameEqualTo(username);
List<UmsAdmin> adminList = adminMapper.selectByExample(example);