- fix bug in UpdateStore(GetRows)
This commit is contained in:
@@ -211,6 +211,13 @@ func (t *BaseTask) SetParent(parentTask ITask) {
|
||||
t.parent = parentTask
|
||||
}
|
||||
|
||||
func AddChild(parentTask ITask, task ITask) ITask {
|
||||
if parentTask != nil {
|
||||
return parentTask.AddChild(task)
|
||||
}
|
||||
return task
|
||||
}
|
||||
|
||||
/////////
|
||||
|
||||
func (t *BaseTask) MarshalJSON() ([]byte, error) {
|
||||
|
||||
Reference in New Issue
Block a user