This commit is contained in:
mayue
2021-11-03 15:05:44 +08:00
parent be67b785b3
commit c916df0117
+1
View File
@@ -688,6 +688,7 @@ class programModel extends model
$this->dao->update(TABLE_MODULE)
->set('root')->eq($program->parent)
->where('root')->eq($programID)
->andwhere('type')->eq('line')
->exec();
$parentProgram = $this->dao->select('*')->from(TABLE_PROGRAM)->where('id')->eq($program->parent)->fetch();