* [rule] commit before create action.
This commit is contained in:
@@ -981,6 +981,7 @@ class taskModel extends model
|
||||
$this->dao->insert(TABLE_TASKSPEC)->data($taskSpec)->autoCheck()->exec();
|
||||
|
||||
if(dao::isError()) return false;
|
||||
if($this->dao->inTransaction()) $this->dao->commit();
|
||||
|
||||
if($createAction)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user