mongo and or
This commit is contained in:
@@ -51,7 +51,7 @@ func (wfa *workflowMongoAccessor) execution(realData *Workflow, delete bool) (in
|
|||||||
obj := &workflow_execution.WorkflowExecution{
|
obj := &workflow_execution.WorkflowExecution{
|
||||||
ExecDate: &s,
|
ExecDate: &s,
|
||||||
EndDate: realData.Schedule.End,
|
EndDate: realData.Schedule.End,
|
||||||
State: workflow_execution.SCHEDULED.EnumIndex(),
|
State: 0,
|
||||||
WorkflowID: realData.UUID,
|
WorkflowID: realData.UUID,
|
||||||
}
|
}
|
||||||
accessor.StoreOne(obj)
|
accessor.StoreOne(obj)
|
||||||
@@ -61,7 +61,7 @@ func (wfa *workflowMongoAccessor) execution(realData *Workflow, delete bool) (in
|
|||||||
obj := &workflow_execution.WorkflowExecution{
|
obj := &workflow_execution.WorkflowExecution{
|
||||||
ExecDate: realData.Schedule.Start,
|
ExecDate: realData.Schedule.Start,
|
||||||
EndDate: realData.Schedule.End,
|
EndDate: realData.Schedule.End,
|
||||||
State: workflow_execution.SCHEDULED.EnumIndex(),
|
State: 0,
|
||||||
WorkflowID: realData.UUID,
|
WorkflowID: realData.UUID,
|
||||||
}
|
}
|
||||||
accessor.StoreOne(obj)
|
accessor.StoreOne(obj)
|
||||||
|
|||||||
Reference in New Issue
Block a user