This commit is contained in:
王怡栋
2024-03-27 17:25:27 +08:00
parent 0d8be3dab9
commit 6a23e3ccd6
+1 -1
View File
@@ -1077,7 +1077,7 @@ class myModel extends model
*/
public function getReviewingFlows($objectType = 'all', $orderBy = 'id_desc', $checkExists = false): array|bool
{
if($this->config->edition != 'max') return array();
if($this->config->edition != 'max' and $this->config->edition != 'ipd') return array();
$stmt = $this->dao->select('t2.objectType,t2.objectID')->from(TABLE_APPROVALNODE)->alias('t1')
->leftJoin(TABLE_APPROVALOBJECT)->alias('t2')->on('t2.approval = t1.approval')