* Fix bug.

This commit is contained in:
tanghucheng
2022-03-16 09:51:36 +08:00
parent 8a4bda1fb8
commit b9542612cb
3 changed files with 4 additions and 3 deletions
+1
View File
@@ -219,6 +219,7 @@ class groupModel extends model
->from(TABLE_USERGROUP)->alias('t1')
->leftJoin(TABLE_USER)->alias('t2')->on('t1.account = t2.account')
->where('`group`')->eq((int)$groupID)
->beginIF($this->config->vision)->andWhere("CONCAT(',', visions, ',')")->like("%,{$this->config->vision},%")->fi()
->andWhere('t2.deleted')->eq(0)
->orderBy('t2.account')
->fetchPairs();