+ Add case for the processProductPlans method.

This commit is contained in:
tianshujie
2023-09-04 14:44:17 +08:00
parent 1ce4f35f2d
commit 5dca5f0878
3 changed files with 49 additions and 3 deletions
+3 -3
View File
@@ -4953,7 +4953,7 @@ class executionModel extends model
* Get plan data from the ID list of the product.
*
* @param array $productID
* @param string $param withMainPlan|skipParent
* @param string $param withMainPlan|skipParent|unexpired|noclosed
* @param int $executionID
* @return array
*/
@@ -5002,11 +5002,11 @@ class executionModel extends model
* Process product planning data.
*
* @param array $plans
* @param string $param
* @param string $param withmainplan|skipparent
* @access public
* @return array
*/
public function processProductPlans(array $plans, string $param): array
public function processProductPlans(array $plans, string $param = ''): array
{
if(strpos($param, 'sortedbydate') !== false)
{