|
|
|
@ -48,7 +48,6 @@ public class CompanyServiceImpl implements CompanyService {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
@SneakyThrows
|
|
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
|
|
@CacheEvict(cacheNames = "companyCache", key = "#companyId")
|
|
|
|
|
public CompanyDto userUpdateCompany(CompanyDto companyDto, Long companyId) {
|
|
|
|
@ -66,7 +65,6 @@ public class CompanyServiceImpl implements CompanyService {
|
|
|
|
|
BeanUtil.copyProperties(companyDto, byUserId);
|
|
|
|
|
byUserId.setApplicationTime(DateUtil.date());
|
|
|
|
|
userRepository.updateStatusById(Boolean.FALSE, SecurityUtils.getCurrentUserId());
|
|
|
|
|
// onlineUserService.kickOutForUsername(SecurityUtils.getCurrentUsername());
|
|
|
|
|
return companyMapper.toDto(companyRepository.save(byUserId));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|