* product: refactor unimplemented functions.

This commit is contained in:
chentao
2023-05-10 14:03:55 +08:00
parent 18e88973a9
commit 043adf9f59
6 changed files with 124 additions and 80 deletions
+30
View File
@@ -0,0 +1,30 @@
<?php
declare(strict_types=1);
/**
* The tao file of program module of ZenTaoPMS.
*
* @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
* @author chen.tao<chentao@easycorp.ltd>
* @package program
* @link http://www.zentao.net
*/
class programTao extends programModel
{
/**
* 通过项目集ID列表批量获取项目集基本数据。
* Get program base data with program ID array.
*
* @param array $programIDs
* @access protected
* @return array
*/
protected function getBaseDataIn(array $programIDs): array
{
return $this->dao->select('id,name,PM')
->from(TABLE_PROGRAM)
->where('id')->in($programIDs)
->fetchAll('id');
}
}