Commit 42b32858 authored by fangxinjiang's avatar fangxinjiang

客户服务平台-fxj

parent 79fcc05c
...@@ -365,6 +365,7 @@ public class SysUserDeptPermissionServiceImpl extends ServiceImpl<SysUserDeptPer ...@@ -365,6 +365,7 @@ public class SysUserDeptPermissionServiceImpl extends ServiceImpl<SysUserDeptPer
permission.setDeptId(entity.getDeptId()); permission.setDeptId(entity.getDeptId());
permission.setUserType(entity.getUserType()); permission.setUserType(entity.getUserType());
baseMapper.updateById(permission); baseMapper.updateById(permission);
redisUtil.remove(CacheConstants.USER_DETAILS +"::"+ user.getUsername());
}catch (Exception e){ }catch (Exception e){
log.error(UserDeptPermConstants.PERMISSION_SAVE_ERROR,e); log.error(UserDeptPermConstants.PERMISSION_SAVE_ERROR,e);
return R.failed(UserDeptPermConstants.PERMISSION_SAVE_ERROR); return R.failed(UserDeptPermConstants.PERMISSION_SAVE_ERROR);
......
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