* code for batchcreate and batchedit with flow.

This commit is contained in:
wangyidong
2020-05-29 13:45:41 +08:00
parent 440f5100ce
commit af6a2f26bc
14 changed files with 187 additions and 10 deletions
+2 -3
View File
@@ -235,9 +235,8 @@ class control extends baseControl
{
if(!isset($this->config->bizVersion)) return false;
$flow = $this->loadModel('workflow')->getByModule($this->moduleName);
$action = $this->loadModel('workflowaction')->getByModuleAndAction($this->moduleName, $this->methodName);
if($flow && $action) $this->loadModel('workflowhook')->execute($flow, $action, $objectID);
$moduleName = $this->moduleName;
return $this->$moduleName->executeHooks($objectID);
}
/**