From bf533ecfa4b31a1e240003adf1f2b31a087f0697 Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Mon, 29 May 2023 11:30:26 +0800 Subject: [PATCH] * Change variable name. --- module/task/model.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/task/model.php b/module/task/model.php index 898f4cc567..f6582df46e 100755 --- a/module/task/model.php +++ b/module/task/model.php @@ -1565,16 +1565,16 @@ class taskModel extends model * 通过任务ID列表批量获取任务信息。 * Get the task information from the task ID list. * - * @param array $taskIDList + * @param array $taskIdList * @access public * @return object[] */ - public function getByIdList(array $taskIDList = array()): array + public function getByIdList(array $taskIdList = array()): array { if(empty($taskIdList)) return array(); return $this->dao->select('*')->from(TABLE_TASK) ->where('deleted')->eq(0) - ->andWhere('id')->in($taskIDList) + ->andWhere('id')->in($taskIdList) ->fetchAll('id'); }