|
|
@@ -202,7 +202,7 @@ class ProductController extends BaseController
|
|
|
$where['status'] = 2;
|
|
|
$where['delStatus'] = 0;
|
|
|
$where['removeStatus'] = 0;
|
|
|
- $field = 'id,py,cover,name,cost,itemId,classId,addPrice,skPrice,discountPrice,skMore,variety,price,stock,presell';
|
|
|
+ $field = 'id,py,cover,name,cost,itemId,classId,addPrice,skPrice,discountPrice,skMore,variety,price,stock,presell,status';
|
|
|
$itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
|
|
|
$itemInfoData = ProductClass::simpleGroup($itemInfoData, $level);
|
|
|
} elseif ($requestType == 'stopList') {
|
|
|
@@ -210,7 +210,7 @@ class ProductController extends BaseController
|
|
|
$where['status'] = 2;
|
|
|
$where['delStatus'] = 1;
|
|
|
$where['removeStatus'] = 0;
|
|
|
- $field = 'id,py,cover,name,cost,itemId,classId,addPrice,skPrice,discountPrice,skMore,variety,price,stock,presell';
|
|
|
+ $field = 'id,py,cover,name,cost,itemId,classId,addPrice,skPrice,discountPrice,skMore,variety,price,stock,presell,status';
|
|
|
$itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
|
|
|
$itemInfoData = ProductClass::simpleGroup($itemInfoData, $level);
|
|
|
} elseif ($requestType == 'removeList') {
|
|
|
@@ -218,7 +218,7 @@ class ProductController extends BaseController
|
|
|
$where['status'] = 2;
|
|
|
$where['delStatus'] = 1;
|
|
|
$where['removeStatus'] = 1;
|
|
|
- $field = 'id,py,cover,name,cost,itemId,classId,addPrice,skPrice,discountPrice,skMore,variety,price,stock,presell';
|
|
|
+ $field = 'id,py,cover,name,cost,itemId,classId,addPrice,skPrice,discountPrice,skMore,variety,price,stock,presell,status';
|
|
|
$itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
|
|
|
$itemInfoData = ProductClass::simpleGroup($itemInfoData, $level);
|
|
|
} elseif ($requestType == 'check') {
|