|
|
@@ -125,8 +125,12 @@ class ProductService extends BaseService
|
|
|
//中央ID
|
|
|
$classIds = ItemClassClass::getGhsItemClassAll($mainId);
|
|
|
|
|
|
+ $all = Yii::$app->request->get('all', 0);
|
|
|
+
|
|
|
$where['mainId'] = $mainId;
|
|
|
- $where['status'] = $status;
|
|
|
+ if ($all == 0) {
|
|
|
+ $where['status'] = $status;
|
|
|
+ }
|
|
|
$where['delStatus'] = 0;
|
|
|
|
|
|
$itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], "*");
|