pause after step 5

This commit is contained in:
etreschenkov 2025-07-14 12:53:39 +03:00
parent 7c88b461b0
commit 2e0b17c7f2
2 changed files with 5 additions and 5 deletions

View file

@ -35,7 +35,7 @@ public class PauseWorkflowStatusWithNotificationAction extends UpdateWorkflowSta
.map(rgsWr -> "ТКР %s: %s".formatted(rgsWr.getRgs().getTradingClearingRegistry(), rgsWr.getErr()))
.collect(Collectors.joining(";\r\n", notificationPrefix(ctx), ""));
Long ssnId = ctx.getExtendedState().get(DataEnum.sessionId, Long.class);
notificationSender.sendNotification(ObjectType.session, comment, Priority.HIGH, ssnId);
notificationSender.sendNotification(ObjectType.session_pause, comment, Priority.HIGH, ssnId);
ctx.getExtendedState().getVariables().remove(DataEnum.erroneousRegistries);
}
@ -48,9 +48,9 @@ public class PauseWorkflowStatusWithNotificationAction extends UpdateWorkflowSta
case PSEUDO_waitAfterObligationAdmissionError -> {
return "Ряд обязательств не допущены к клирингу!!!\r\n";
}
// case PSEUDO_waitAfterInspectionError -> {
// return "Ряд обязательств подлежит исключению из клирингового пула!!!\r\n";
// }
case PSEUDO_waitAfterInspectionError -> {
return "Ряд обязательств подлежит исключению из клирингового пула!!!\r\n";
}
default -> {
return "Ошибка клиринговой сессии\r\n";
}

View file

@ -4,7 +4,7 @@ import ru.spcex.platform.utils.enumeration.IEnumKey;
public enum ObjectType implements IEnumKey {
statement("STMT"), vfrs("VFRS"), rgst("RGST"), gateway("GTWY"), session("SESN"),
account_block("ACCB"), account_active("ACCA"), diff("DIFF");
session_pause("SESS"), account_block("ACCB"), account_active("ACCA"), diff("DIFF");
private final String key;