This commit is contained in:
parent
eb64328bf1
commit
169302163e
3 changed files with 13 additions and 2 deletions
|
|
@ -15,6 +15,7 @@ public class DigitalSecurityRequestAdapter {
|
|||
gatewayRequest.setDepoDcId(digitalCertificate.getDepoDcId());
|
||||
gatewayRequest.setInstrumentType(digitalCertificate.getInstrumentType());
|
||||
gatewayRequest.setIssuerId(digitalCertificate.getIssuerId());
|
||||
gatewayRequest.setInn(digitalCertificate.getUcp().getCompanyInn());
|
||||
gatewayRequest.setShortName(digitalCertificate.getShortName());
|
||||
gatewayRequest.setFullName(digitalCertificate.getFullName());
|
||||
gatewayRequest.setFullNameEng(digitalCertificate.getFullNameEng());
|
||||
|
|
|
|||
|
|
@ -481,8 +481,8 @@ public class GatewaySecurityService extends QueueConsumer implements Initializin
|
|||
DigitalCertificateSecurityGatewayRequest request = baseRequest.getRequestPayload();
|
||||
|
||||
Map<String, Comparable<?>> query = new HashMap<>();
|
||||
query.put("companySymbol", CompanySymbol.UUID.getKey());
|
||||
query.put("companySymbolValue", request.getIssuerId());
|
||||
query.put("companySymbol", CompanySymbol.INN.getKey());
|
||||
query.put("companySymbolValue", request.getInn());
|
||||
|
||||
CompanySymbols companySymbols = companySymbolsImdg.getSingleObjectByFieldValues(query);
|
||||
Long companyId = null;
|
||||
|
|
|
|||
|
|
@ -21,6 +21,8 @@ public class DigitalCertificateSecurityGatewayRequest implements WithSecuritySym
|
|||
@JsonProperty
|
||||
private UUID issuerId;
|
||||
@JsonProperty
|
||||
private String inn;
|
||||
@JsonProperty
|
||||
private String shortName;
|
||||
@JsonProperty
|
||||
private String fullName;
|
||||
|
|
@ -78,6 +80,14 @@ public class DigitalCertificateSecurityGatewayRequest implements WithSecuritySym
|
|||
this.issuerId = issuerId;
|
||||
}
|
||||
|
||||
public String getInn() {
|
||||
return inn;
|
||||
}
|
||||
|
||||
public void setInn(String inn) {
|
||||
this.inn = inn;
|
||||
}
|
||||
|
||||
public String getShortName() {
|
||||
return shortName;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue