fix unit session

This commit is contained in:
etreschenkov 2025-07-09 17:18:01 +03:00
parent beb0758ff3
commit 70f0e4b9e5
2 changed files with 4 additions and 16 deletions

View file

@ -17,7 +17,7 @@ preflight:
stage: preflight
script:
- pwd
- git clone -b only_9.0_unit "http://gitlab-ci-token:$ACCESS_TOKEN@git.mfd.msk/mfd/clearing_test.git"
- git clone -b successful_set_export_fixed "http://gitlab-ci-token:$ACCESS_TOKEN@git.mfd.msk/mfd/clearing_test.git"
artifacts:
name: "$CI_COMMIT_REF_NAME"
expire_in: 1 day

View file

@ -59,21 +59,9 @@ public class RequirementAndObligationCreationCompoundAction extends RequirementA
);
if (pair == null) continue;
log.info("Pair is not null with execType: {}", pair.getFirst().type());
if (pair.getFirst().type().equals(ExecutionType.ExecutionFond)) {
log.info("Match ExecutionFond; index before: {}", ief[0]);
ief[0] += 2;
log.info("index after: {}", ief[0]);
}
if (pair.getFirst().type().equals(ExecutionType.ExecutionDeposit)) {
log.info("Match ExecutionDeposit; index before: {}", ied[0]);
ied[0] += 2;
log.info("index after: {}", ied[0]);
}
if (pair.getFirst().type().equals(ExecutionType.ExecutionCurrency)) {
log.info("Match ExecutionCurrency; index before: {}", iec[0]);
iec[0] += 2;
log.info("index after: {}", iec[0]);
}
if (pair.getFirst().type().equals(ExecutionType.ExecutionFond)) ief[0] += 2;
if (pair.getFirst().type().equals(ExecutionType.ExecutionDeposit)) ied[0] += 2;
if (pair.getFirst().type().equals(ExecutionType.ExecutionCurrency)) iec[0] += 2;
pair.map(f -> tmpList.set(0, f), s -> tmpList.set(1, s));
createRegisters(tmpList, sessionId, newRgss);
}