|
|
|
@ -66,7 +66,7 @@ public class CompanyServiceImpl implements CompanyService {
|
|
|
|
|
BeanUtil.copyProperties(companyDto, byUserId);
|
|
|
|
|
byUserId.setApplicationTime(DateUtil.date());
|
|
|
|
|
userRepository.updateStatusById(Boolean.FALSE, SecurityUtils.getCurrentUserId());
|
|
|
|
|
onlineUserService.kickOutForUsername(SecurityUtils.getCurrentUsername());
|
|
|
|
|
// onlineUserService.kickOutForUsername(SecurityUtils.getCurrentUsername());
|
|
|
|
|
return companyMapper.toDto(companyRepository.save(byUserId));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|