Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
e6fc7f75c9
1 changed files with 2 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
package ru.spcex.clearing.session.state.action;
|
||||
|
||||
import java.time.Instant;
|
||||
import java.time.LocalDate;
|
||||
import java.util.Map;
|
||||
import org.slf4j.Logger;
|
||||
|
|
@ -43,6 +44,7 @@ public class CreateSessionAction extends AbstractSessionActionForOkErrorHandling
|
|||
newSession.setSessionStatus(TaskType.StartRevise.getKey());
|
||||
newSession.setWorkflowStatus(SessionStatus.ACTV.getKey());
|
||||
newSession.setClearingDate(LocalDate.now());
|
||||
newSession.setCreated(Instant.now());
|
||||
sessionImdg.insert(newSession);
|
||||
log.info("started new session.id={}", newSession.getId());
|
||||
context.getExtendedState().getVariables().put(DataEnum.sessionId, newSession.getId());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue