gateway-api securities-service http://jira.mfd.msk:8088/browse/CLS-516
This commit is contained in:
parent
a3ac454cb3
commit
d6e462f84f
2 changed files with 3 additions and 3 deletions
|
|
@ -53,7 +53,7 @@ public class SecurityRequestAdapter {
|
||||||
// if (!TextUtil.isEmpty(code)) {
|
// if (!TextUtil.isEmpty(code)) {
|
||||||
// listingNewRequest.setSymbolCode(code.substring(0, Math.min(7, code.length())));
|
// listingNewRequest.setSymbolCode(code.substring(0, Math.min(7, code.length())));
|
||||||
// }
|
// }
|
||||||
listingNewRequest.setSymbolCode(incomeListing.getSymbolName());
|
listingNewRequest.setSymbolCode(incomeListing.getSymbolCode());
|
||||||
listingNewRequest.setSymbolName(incomeListing.getSymbolName());
|
listingNewRequest.setSymbolName(incomeListing.getSymbolName());
|
||||||
listingNewRequest.setLotSize(incomeListing.getLotSize());
|
listingNewRequest.setLotSize(incomeListing.getLotSize());
|
||||||
listingNewRequest.setTradingCurrency(incomeListing.getTradingCurrency());
|
listingNewRequest.setTradingCurrency(incomeListing.getTradingCurrency());
|
||||||
|
|
|
||||||
|
|
@ -282,7 +282,7 @@ public class GatewaySecurityService extends QueueConsumer implements Initializin
|
||||||
if (existCouponPeriod == null) {
|
if (existCouponPeriod == null) {
|
||||||
log.trace("For company[{}] do new CouponPeriod", companyId);
|
log.trace("For company[{}] do new CouponPeriod", companyId);
|
||||||
CouponPeriod couponPeriod = couponPeriodService.newCouponPeriod0(partRequest);
|
CouponPeriod couponPeriod = couponPeriodService.newCouponPeriod0(partRequest);
|
||||||
log.debug("Has updated couponPeriod.id={}", couponPeriod.getId());
|
log.debug("New couponPeriod.id={}", couponPeriod.getId());
|
||||||
} else {
|
} else {
|
||||||
log.trace("For company[{}] do update CouponPeriod[{}]", companyId, existCouponPeriod.getId());
|
log.trace("For company[{}] do update CouponPeriod[{}]", companyId, existCouponPeriod.getId());
|
||||||
CouponPeriodUpdateRequest partUpdateRequest = toUpdateRequest(existCouponPeriod, partRequest);
|
CouponPeriodUpdateRequest partUpdateRequest = toUpdateRequest(existCouponPeriod, partRequest);
|
||||||
|
|
@ -303,7 +303,7 @@ public class GatewaySecurityService extends QueueConsumer implements Initializin
|
||||||
if (existFixedIncomeCashFlow == null) {
|
if (existFixedIncomeCashFlow == null) {
|
||||||
log.trace("For company[{}] do new FixedIncomeCashFlow", companyId);
|
log.trace("For company[{}] do new FixedIncomeCashFlow", companyId);
|
||||||
FixedIncomeCashFlow fixedIncomeCashFlow = fixedIncomeCashFlowService.fixedIncomeCashFlowNew0(partRequest);
|
FixedIncomeCashFlow fixedIncomeCashFlow = fixedIncomeCashFlowService.fixedIncomeCashFlowNew0(partRequest);
|
||||||
log.debug("Has update fixedIncomeCashFlow.id={}", fixedIncomeCashFlow.getId());
|
log.debug("New fixedIncomeCashFlow.id={}", fixedIncomeCashFlow.getId());
|
||||||
} else {
|
} else {
|
||||||
log.trace("For company[{}] do update FixedIncomeCashFlow[{}]", companyId, existFixedIncomeCashFlow.getId());
|
log.trace("For company[{}] do update FixedIncomeCashFlow[{}]", companyId, existFixedIncomeCashFlow.getId());
|
||||||
FixedIncomeCashFlowUpdateRequest partUpdateRequest = toUpdateRequest(existFixedIncomeCashFlow, partRequest);
|
FixedIncomeCashFlowUpdateRequest partUpdateRequest = toUpdateRequest(existFixedIncomeCashFlow, partRequest);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue