company-service http://jira.mfd.msk:8088/browse/CLS-259 companyInfo реквест редактирует shortName/fullName
This commit is contained in:
parent
b7c7e8b358
commit
9dc45f2165
1 changed files with 2 additions and 0 deletions
|
|
@ -87,6 +87,8 @@ public class CompanyInfoService extends QueueConsumer implements InitializingBea
|
|||
return requestHelper.makeErrorResponse(companyInfoReq, CompanyErrors.CompanyNotFound, companyInfoReq.getId());
|
||||
}
|
||||
company.setUpdated(Instant.now());
|
||||
company.setShortName(req.getShortName());
|
||||
company.setFullName(req.getFullName());
|
||||
CompanyInfo companyInfo = company.getProfile();
|
||||
|
||||
companyInfo.setCountryCode(req.getCountryCode());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue