* code for task #75426,75427.

This commit is contained in:
wangyidong
2022-11-10 14:13:29 +08:00
parent bf822c7283
commit b8c4c2bb9d
6 changed files with 50 additions and 32 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ class fileModel extends model
{
$files = $this->dao->select('*')->from(TABLE_FILE)
->where('objectType')->eq($objectType)
->andWhere('objectID')->eq((int)$objectID)
->andWhere('objectID')->in($objectID)
->andWhere('extra')->ne('editor')
->beginIF($extra)->andWhere('extra')->eq($extra)
->andWhere('deleted')->eq('0')