fix unit session
This commit is contained in:
parent
c7282bf04a
commit
7acb56ec45
2 changed files with 2 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ preflight:
|
||||||
stage: preflight
|
stage: preflight
|
||||||
script:
|
script:
|
||||||
- pwd
|
- pwd
|
||||||
- git clone -b successful_set_export_fixed "http://gitlab-ci-token:$ACCESS_TOKEN@git.mfd.msk/mfd/clearing_test.git"
|
- git clone -b only_unit "http://gitlab-ci-token:$ACCESS_TOKEN@git.mfd.msk/mfd/clearing_test.git"
|
||||||
artifacts:
|
artifacts:
|
||||||
name: "$CI_COMMIT_REF_NAME"
|
name: "$CI_COMMIT_REF_NAME"
|
||||||
expire_in: 1 day
|
expire_in: 1 day
|
||||||
|
|
|
||||||
|
|
@ -130,6 +130,7 @@ public class FormingPaymentInstructionAssetsAction extends AbstractSessionAction
|
||||||
@Override
|
@Override
|
||||||
protected void actualExecute(StateContext<TaskType, SsnEvent> ctx) {
|
protected void actualExecute(StateContext<TaskType, SsnEvent> ctx) {
|
||||||
Long sessionId = ctx.getExtendedState().get(DataEnum.sessionId, Long.class);
|
Long sessionId = ctx.getExtendedState().get(DataEnum.sessionId, Long.class);
|
||||||
|
this.sessionType = ctx.getExtendedState().get(DataEnum.sessionType, SessionType.class);
|
||||||
if (SessionType.FINL.equals(sessionType) || SessionType.MEDM.equals(sessionType) || SessionType.UNIT.equals(sessionType)) {
|
if (SessionType.FINL.equals(sessionType) || SessionType.MEDM.equals(sessionType) || SessionType.UNIT.equals(sessionType)) {
|
||||||
dmvSrv.createDmv(sessionId);
|
dmvSrv.createDmv(sessionId);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue