* Finish Task#3576.

This commit is contained in:
滔哥
2018-01-10 16:43:17 +08:00
parent 13458b1b38
commit 1e12da117f
6 changed files with 79 additions and 8 deletions
+4 -4
View File
@@ -2581,16 +2581,16 @@ class projectModel extends model
}
/**
* Get plans by projectID.
* Get plans by $productID.
*
* @param int|array $projectID
* @param int|array $productID
*
* @return mixed
*/
public function getPlans($projectID)
public function getPlans($productID)
{
$plans = $this->dao->select('id,title,product')->from(TABLE_PRODUCTPLAN)
->where('product')->in($projectID)
->where('product')->in($productID)
->fetchAll();
$productPlans = array();