This commit is contained in:
parent
2e03fd6ebf
commit
e2db536b0d
1 changed files with 13 additions and 9 deletions
|
|
@ -162,6 +162,7 @@ public class MultiCompanyService
|
|||
}
|
||||
|
||||
for (CompanySymbolNewRequest partRequest : req.getCompanySymbols()) {
|
||||
try {
|
||||
CompanySymbols existSymbol = findCompanySymbols(partRequest);
|
||||
if (existSymbol == null) {
|
||||
log.trace("For company[{}] do new companySymbol", companyId);
|
||||
|
|
@ -172,6 +173,9 @@ public class MultiCompanyService
|
|||
replyI = companySymbolService.companySymbolUpdate(wrapRequest(baseRequest, partUpdateRequest, ActionType.UPDATE));
|
||||
validateReply(companyId, "companySymbolUpdate", replyI);
|
||||
}
|
||||
} catch (ValidationException e) {
|
||||
log.warn("Skip creating/updating CompanySymbol cause: {}", e.getMessage());
|
||||
}
|
||||
}
|
||||
for (ContactNewRequest partRequest : req.getContacts()) {
|
||||
Contact existContact = findContact(partRequest);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue