Commit 83fe3e70 authored by macro's avatar macro
Browse files

Update UmsAdminServiceImpl.java

parent bbd593e8
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment