This commit is contained in:
chaideqing
2023-11-02 06:21:51 +00:00
parent 9720ed1bc1
commit 3d1c9f970b
+1 -1
View File
@@ -666,7 +666,7 @@ class docModel extends model
->leftJoin(TABLE_DOCLIB)->alias('t3')->on("t1.lib=t3.id")
->where('t1.deleted')->eq(0)
->andWhere('t1.lib')->ne('')
->andWhere('t1.type')->in('text,word,ppt,excel,url,article')
->andWhere('t1.type')->in('text,word,ppt,excel,url,article,attachment')
->andWhere('t1.vision')->eq($this->config->vision)
->andWhere('t2.action')->eq($type)
->andWhere('t2.actor')->eq($this->app->user->account)