* Fix bug #21403,21474,21410,21414,21417,21456.

This commit is contained in:
tanghucheng
2022-04-07 15:27:54 +08:00
parent adb3a7ea72
commit 3d3ffe9348
11 changed files with 28 additions and 15 deletions
+2
View File
@@ -158,6 +158,7 @@ class groupModel extends model
->on('t1.`group` = t2.id')
->where('t1.account')->eq($account)
->andWhere('t2.project')->eq(0)
->andWhere('t2.vision')->eq($this->config->vision)
->fetchAll('id');
}
@@ -174,6 +175,7 @@ class groupModel extends model
->leftJoin(TABLE_GROUP)->alias('t2')
->on('t1.`group` = t2.id')
->where('t1.account')->in($accounts)
->andWhere('t2.vision')->eq($this->config->vision)
->fetchGroup('account');
}