fix stage 5
This commit is contained in:
parent
79f0650417
commit
3135905dcc
3 changed files with 4 additions and 2 deletions
|
|
@ -265,7 +265,7 @@ public class Sdf01Executor extends AbstractExecutor<SDf01> {
|
|||
rgs.setRegistryCode(RegistryUtil.clearingCode(rgs));
|
||||
Collection<TradingClearingRegistry> tcrsByAccount = tradingClearingRegistryImdg.getCollectionObjectsByFieldValues(Map.of(
|
||||
"moneyAccountId", statement.getAccountId(),
|
||||
"companyId", company.getId()
|
||||
"companyId", statement.getAddresseeId()
|
||||
));
|
||||
if (!tcrsByAccount.isEmpty()) {
|
||||
TradingClearingRegistry tcr = tcrsByAccount.iterator().next();
|
||||
|
|
|
|||
|
|
@ -278,7 +278,8 @@ public class Sdf57Executor extends AbstractExecutor<SDf57> {
|
|||
rgs.setRegistryCode(RegistryUtil.clearingCode(rgs));
|
||||
|
||||
Collection<TradingClearingRegistry> tcrsByAccount = tradingClearingRegistryImdg.getCollectionObjectsByFieldValues(Map.of(
|
||||
"moneyAccountId", statement.getAccountId()
|
||||
"moneyAccountId", statement.getAccountId(),
|
||||
"companyId", statement.getAddresseeId()
|
||||
));
|
||||
if (!tcrsByAccount.isEmpty()) {
|
||||
TradingClearingRegistry tcr = tcrsByAccount.iterator().next();
|
||||
|
|
|
|||
|
|
@ -107,6 +107,7 @@ public class InspectionObligations implements ISessionStage {
|
|||
isUncovered = true;
|
||||
}
|
||||
checkResults.add(new CheckResult(obligation, isUncovered));
|
||||
isUncovered = false;
|
||||
}
|
||||
defineStatusAndUpdateRegistry(checkResults, group);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue