* [misc,done,0.2h] add edition judgement.

This commit is contained in:
tianshujie
2024-12-30 09:51:11 +08:00
committed by 刘刚
parent 393405e93e
commit 03f3cea071
+2 -2
View File
@@ -24,7 +24,7 @@ class commonTao extends commonModel
$typeOnlyCondition = $type . 'OnlyCondition';
$queryCondition = $this->session->$queryCondition;
$table = zget($this->config->objectTables, $type, '');
if(empty($table))
if($this->config->edition != 'open' && empty($table))
{
$flow = $this->loadModel('workflow')->getByModule($type);
if(empty($flow->table)) return '';
@@ -143,7 +143,7 @@ class commonTao extends commonModel
$existsObjectList = $this->session->$objectIdListKey;
$table = zget($this->config->objectTables, $type, '');
if(empty($table))
if($this->config->edition != 'open' && empty($table))
{
$flow = $this->loadModel('workflow')->getByModule($type);
if(empty($flow->table)) return $preAndNextObject;