* Adjust for unit.

This commit is contained in:
wangyidong
2023-09-13 16:38:17 +08:00
parent ef6759b14f
commit 284ab1de59
30 changed files with 326 additions and 218 deletions
+2 -2
View File
@@ -1437,9 +1437,9 @@ class programModel extends model
*
* @param array $programIdList
* @access public
* @return void
* @return array
*/
public function getParentPM($programIdList)
public function getParentPM(array $programIdList): array
{
$objects = $this->dao->select('id, path, parent')->from(TABLE_PROGRAM)->where('id')->in($programIdList)->andWhere('acl')->ne('open')->fetchAll('id');