mongo and or

This commit is contained in:
mr
2024-08-02 16:09:17 +02:00
parent 2525cc7783
commit 89f14d99b8
2 changed files with 4 additions and 4 deletions

View File

@@ -51,7 +51,7 @@ func (wfa *workflowMongoAccessor) execution(realData *Workflow, delete bool) (in
obj := &workflow_execution.WorkflowExecution{
ExecDate: &s,
EndDate: realData.Schedule.End,
State: 0,
State: 1,
WorkflowID: realData.UUID,
}
accessor.StoreOne(obj)
@@ -61,7 +61,7 @@ func (wfa *workflowMongoAccessor) execution(realData *Workflow, delete bool) (in
obj := &workflow_execution.WorkflowExecution{
ExecDate: realData.Schedule.Start,
EndDate: realData.Schedule.End,
State: 0,
State: 1,
WorkflowID: realData.UUID,
}
accessor.StoreOne(obj)