Commit cc224583 authored by 贷前—徐菲's avatar 贷前—徐菲

Merge remote-tracking branch 'origin/master'

parents c88d1ea1 fdcc01e3
...@@ -29,7 +29,7 @@ public class UserAuthorizedServiceImpl implements IUserAuthorizedService { ...@@ -29,7 +29,7 @@ public class UserAuthorizedServiceImpl implements IUserAuthorizedService {
@Resource @Resource
private IUserAuthorizedRepository userAuthorizedRepository; private IUserAuthorizedRepository userAuthorizedRepository;
@Cacheable(value = "user_authorized_idno_cache", key = "#idNo", unless = "#result == null", cacheManager = "cacheManager") @Cacheable(value = "user_authorized_idno_cache", key = "#idNo", unless = "#result == false", cacheManager = "cacheManager")
@Override @Override
public Boolean hasUserAuthorized(String idNo) { public Boolean hasUserAuthorized(String idNo) {
try { try {
......
Markdown is supported
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