mirror of https://gitee.com/maxjhandsome/pig
commit
0848db4dc1
|
@ -166,6 +166,7 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
|
|||
|
||||
@Override
|
||||
@CacheEvict(value = CacheConstants.USER_DETAILS, key = "#userDto.username")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public Boolean updateUser(UserDTO userDto) {
|
||||
SysUser sysUser = new SysUser();
|
||||
BeanUtils.copyProperties(userDto, sysUser);
|
||||
|
|
Loading…
Reference in New Issue