* Modify comment of getByList and getStage function.

This commit is contained in:
jukui
2023-05-11 13:11:27 +08:00
parent 6eb57d27d6
commit d9e760f0f4
+4 -3
View File
@@ -29,7 +29,7 @@ class programplanModel extends model
/**
* 获取阶段列表。
* Get plans list.
* Get stages list.
*
* @param int $executionID
* @param int $productID
@@ -45,13 +45,14 @@ class programplanModel extends model
}
/**
* Get plans by idList.
* 根据id 查询项目列表。
* Get project by idList.
*
* @param array $idList
* @access public
* @return array
*/
public function getByList($idList = array())
public function getByList(array $idList = array()): array
{
$plans = $this->dao->select('*')->from(TABLE_PROJECT)
->where('id')->in($idList)