clearing-service http://jira.mfd.msk:8088/browse/CLS-188 упростил отправку DealRegisterNewRequest (убрал даты явы 8 чтобы не стучал ошибками сериализации)
This commit is contained in:
parent
9e00b96e95
commit
0ffc0a6471
2 changed files with 0 additions and 34 deletions
|
|
@ -187,9 +187,7 @@ public class ExecutionDepositComponent {
|
|||
final String destination = Consts.REGISTRY_DEAL_REGISTER_NEW;
|
||||
DealRegisterNewRequest requestPayload = new DealRegisterNewRequest();
|
||||
requestPayload.setExecutionId(forED.getId());
|
||||
requestPayload.setClearingDate(forED.getClearingDate());
|
||||
requestPayload.setExchangeExecutionId(forED.getExchangeExecutionId());
|
||||
requestPayload.setExchangeExecutionTime(forED.getExchangeExecutionTime());
|
||||
// requestPayload.setId(idGenerator.nextId());
|
||||
|
||||
BaseRequest<Object> request = new BaseRequest<>();
|
||||
|
|
|
|||
|
|
@ -15,15 +15,6 @@ public class DealRegisterNewRequest {
|
|||
@JsonProperty
|
||||
public Long exchangeExecutionId;
|
||||
|
||||
@JsonProperty
|
||||
public Instant exchangeExecutionTime;
|
||||
|
||||
@JsonProperty
|
||||
public Long id;
|
||||
|
||||
@JsonProperty
|
||||
public LocalDate clearingDate;
|
||||
|
||||
|
||||
public Long getExecutionId() {
|
||||
return executionId;
|
||||
|
|
@ -41,27 +32,4 @@ public class DealRegisterNewRequest {
|
|||
this.exchangeExecutionId = exchangeExecutionId;
|
||||
}
|
||||
|
||||
public Instant getExchangeExecutionTime() {
|
||||
return exchangeExecutionTime;
|
||||
}
|
||||
|
||||
public void setExchangeExecutionTime(Instant exchangeExecutionTime) {
|
||||
this.exchangeExecutionTime = exchangeExecutionTime;
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public LocalDate getClearingDate() {
|
||||
return clearingDate;
|
||||
}
|
||||
|
||||
public void setClearingDate(LocalDate clearingDate) {
|
||||
this.clearingDate = clearingDate;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue