FinishingSessionAction PAYM bugfix
This commit is contained in:
parent
bfdf2d152b
commit
b451394004
1 changed files with 5 additions and 3 deletions
|
|
@ -182,7 +182,7 @@ public class FinishingSessionAction extends AbstractSessionActionForOkErrorHandl
|
||||||
notAllowed,
|
notAllowed,
|
||||||
executions.size() - (allowed + notAllowed));
|
executions.size() - (allowed + notAllowed));
|
||||||
}
|
}
|
||||||
if (IEnumKey.contains(sessionType, SessionType.CURR, SessionType.TRDT, SessionType.IPOB, SessionType.IPO0, SessionType.IPOT, SessionType.UNIT)) {
|
if (IEnumKey.contains(sessionType, SessionType.CURR, SessionType.PAYM, SessionType.TRDT, SessionType.IPOB, SessionType.IPO0, SessionType.IPOT, SessionType.UNIT)) {
|
||||||
Collection<? extends ExecutionCommon> executions = findExecutionFondBySessionId(sessionId, sessionType);
|
Collection<? extends ExecutionCommon> executions = findExecutionFondBySessionId(sessionId, sessionType);
|
||||||
Map<Long, ExecutionCurrency> execCurr = new HashMap<>();
|
Map<Long, ExecutionCurrency> execCurr = new HashMap<>();
|
||||||
Map<Long, ExecutionFond> execFond = new HashMap<>();
|
Map<Long, ExecutionFond> execFond = new HashMap<>();
|
||||||
|
|
@ -244,7 +244,9 @@ public class FinishingSessionAction extends AbstractSessionActionForOkErrorHandl
|
||||||
throw new RuntimeException(msgResolver.resolve(sResult.get()));
|
throw new RuntimeException(msgResolver.resolve(sResult.get()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sdf05Sender.sendSdf05(pr);
|
if (!SessionType.PAYM.equals(sessionType)) {
|
||||||
|
sdf05Sender.sendSdf05(pr);
|
||||||
|
}
|
||||||
if (Section.FOND.equals(section) || Section.MULT.equals(section)) {
|
if (Section.FOND.equals(section) || Section.MULT.equals(section)) {
|
||||||
sdf14Sender.sendSdf14(sessionId);
|
sdf14Sender.sendSdf14(sessionId);
|
||||||
}
|
}
|
||||||
|
|
@ -330,7 +332,7 @@ public class FinishingSessionAction extends AbstractSessionActionForOkErrorHandl
|
||||||
return res;
|
return res;
|
||||||
} else {
|
} else {
|
||||||
Imdg<? extends ExecutionCommon> excImdg;
|
Imdg<? extends ExecutionCommon> excImdg;
|
||||||
if (sessionType.equals(SessionType.CURR)) {
|
if (sessionType.equals(SessionType.CURR) || sessionType.equals(SessionType.PAYM)) {
|
||||||
excImdg = executionCurrencyImdg;
|
excImdg = executionCurrencyImdg;
|
||||||
} else {
|
} else {
|
||||||
excImdg = executionFondImdg;
|
excImdg = executionFondImdg;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue