* [task#127982,1h,0h] Determine whether there is a flow.

This commit is contained in:
tanghucheng
2024-09-05 09:43:52 +08:00
committed by 胡方舟
parent a398c5b6c9
commit 70d0807d40
+2
View File
@@ -61,6 +61,8 @@ class datatableModel extends model
if($this->config->edition != 'open')
{
$flow = $this->loadModel('workflow')->getByModule($module);
if(empty($flow)) return $fieldList;
if($flow->buildin == 1)
{
$fields = $this->loadModel('workflowfield')->getList($module);