This commit is contained in:
chaideqing
2023-11-02 06:24:09 +00:00
parent 3d1c9f970b
commit 6cb9f849d9
+1 -1
View File
@@ -700,7 +700,7 @@ class docModel extends model
->where('t1.deleted')->eq(0)
->andWhere('t1.lib')->ne('')
->andWhere('t1.vision')->eq($this->config->vision)
->andWhere('t1.type')->in('text,word,ppt,excel,url,article')
->andWhere('t1.type')->in('text,word,ppt,excel,url,article,attachment')
->beginIF($type == 'createdby')->andWhere('t1.addedBy')->eq($this->app->user->account)->fi()
->beginIF($type == 'editedby')->andWhere('t1.id')->in($docIdList)->fi()
->beginIF(!common::hasPriv('doc', 'productSpace'))->andWhere('t2.type')->ne('product')->fi()