* Finish task #101100.

This commit is contained in:
sunguangming
2023-08-22 14:36:01 +08:00
parent da93ea4e45
commit 229140b6af
2 changed files with 23 additions and 13 deletions
+1 -1
View File
@@ -632,7 +632,7 @@ class projectModel extends model
return $this->dao->select('id')->from(TABLE_PROJECT)
->where('type')->eq('project')
->andWhere('deleted')->eq(0)
->andWhere('path')->like("{$parentProgram->path}%")
->andWhere("CONCAT(',', path, ',')")->like("%,{$parentProgram->id},%")
->fetchPairs('id');
}