This commit is contained in:
parent
feb989a85b
commit
46d2bf902c
1 changed files with 6 additions and 2 deletions
|
|
@ -487,8 +487,12 @@ public class GatewaySecurityService extends QueueConsumer implements Initializin
|
|||
query.put("companySymbolValue", request.getIssuerId());
|
||||
|
||||
CompanySymbols companySymbols = companySymbolsImdg.getSingleObjectByFieldValues(query);
|
||||
Long companyId = companySymbols.getCompanyId();
|
||||
newRequest.setIssuerId(companyId);
|
||||
if (companySymbols != null) {
|
||||
Long companyId = companySymbols.getCompanyId();
|
||||
newRequest.setIssuerId(companyId);
|
||||
} else {
|
||||
log.warn("Not found company symbols..skip request");
|
||||
}
|
||||
|
||||
newRequest.setShortName(request.getShortName());
|
||||
newRequest.setFullName(request.getFullName());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue