Commit 61875565 authored by fangxinjiang's avatar fangxinjiang

人员花名册

parent 788e7834
......@@ -101,9 +101,9 @@ public class TSettleDomainServiceImpl extends ServiceImpl<TSettleDomainMapper, T
redisUtil.remove(CacheConstants.DATA_AUTH_DETAILS +"_1");
if (Common.isNotNull(user)){
redisUtil.remove(CacheConstants.USER_DETAILS +"::"+ user.getUsername());
}
if( Common.isNotNull(user.getPhone())){
redisUtil.remove(CacheConstants.USER_DETAILS + "_phone::"+ user.getPhone());
if( Common.isNotNull(user.getPhone())){
redisUtil.remove(CacheConstants.USER_DETAILS + "_phone::"+ user.getPhone());
}
}
// 清空userinfo
Objects.requireNonNull(cacheManager.getCache(CacheConstants.USER_DETAILS)).clear();
......
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