Commit 812a2a95 authored by hongguangwu's avatar hongguangwu

Merge remote-tracking branch 'origin/MVP1.7.7' into MVP1.7.7

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