* [refac] use product workflowGroup field.

This commit is contained in:
wangyidong
2024-10-16 17:18:14 +08:00
committed by 孙广明
parent 8b30045bbb
commit 1f0d11d741
+1 -1
View File
@@ -487,7 +487,7 @@ class datatableModel extends model
->where('t1.project')->eq($projectID)
->fetchAll('id');
foreach($products as $product) $groupIdList[] = $this->workflowgroup->getGroupIDByData($module, $product);
foreach($products as $product) $groupIdList[] = $product->workflowGroup;
foreach(array_unique($groupIdList) as $groupID)
{
$flow = $this->workflow->getByModule($module, false, $groupID);