This commit is contained in:
mayue
2021-11-25 09:43:34 +08:00
parent fb8ff15c2a
commit c40360d556
3 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -1638,9 +1638,9 @@ class executionModel extends model
* @access public
* @return array
*/
public function getBranchByProduct($products, $projectID = 0)
public function getBranchByProduct($products, $projectID = 0, $status = 'noclosed')
{
$branchGroups = $this->loadModel('branch')->getByProducts($products, 'noclosed');
$branchGroups = $this->loadModel('branch')->getByProducts($products, $status);
if($projectID)
{