* [refac bug #58283] Adjust appendWorkflowFields for dtable.

This commit is contained in:
wangyidong
2024-12-24 13:47:15 +08:00
committed by 孙广明
parent dd3cd4b7bd
commit 4251dbe8ab
+2
View File
@@ -493,6 +493,7 @@ class datatableModel extends model
$flow = $this->workflow->getByModule($module, false, $groupID);
if(empty($flow)) continue;
if($groupID != $flow->group) $groupID = 0;
if($flow->buildin)
{
$action = $this->workflowaction->getByModuleAndAction($module, $method, $groupID);
@@ -507,6 +508,7 @@ class datatableModel extends model
$flow = $this->workflow->getByModule($module, false, $groupID);
if(empty($flow)) return [];
if($groupID != $flow->group) $groupID = 0;
if($flow->buildin)
{
$action = $this->workflowaction->getByModuleAndAction($module, $method, $groupID);