DM*V creation for MEDM session

This commit is contained in:
ialbert 2023-09-27 18:39:35 +03:00
parent 1c9de78f5e
commit 4df7131630
2 changed files with 2 additions and 1 deletions

View file

@ -105,6 +105,7 @@ public class IntermediateMkrSession extends AbstractSession implements Initializ
inspectionObligations.setSessionType(sessionType());
inspectionObligations.setSection(section());
formingPaymentInstructionDeals.setSection(section());
formingPaymentInstructionDeals.setSessionType(sessionType());
imdgProvider.waitAvailable();
initSessionIfPresent();
}

View file

@ -130,7 +130,7 @@ public class FormingPaymentInstructionAssets implements ISessionStage {
private StageResult<?> formingPaymentInstructions(FormingPaymentInstructionPayload payload) {
Long sessionId = payload.getSessionId();
if (SessionType.FINL.equals(sessionType)) {
if (SessionType.FINL.equals(sessionType) || SessionType.MEDM.equals(sessionType)) {
dmvSrv.createDmv(sessionId);
}
Collection<Registry> AMBregistries = selectAMBRegistries(sessionId);