shish %!s(int64=3) %!d(string=hai) anos
pai
achega
048f9bac12
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app-hd/controllers/ProductController.php

+ 1 - 1
app-hd/controllers/ProductController.php

@@ -147,7 +147,7 @@ class ProductController extends BaseController
         $where['delStatus'] = $delStatus;
 
         $level = 0;
-        $field = 'id,cover,name,cost,itemId,classId,property,skPrice,skMore,addPrice,variety,price,discountPrice,skDiscountPrice,stock,stockWarning,presell,ratioType,smallRatio,smallUnit,bigUnit,ratio';
+        $field = 'id,cover,name,cost,itemId,classId,property,skPrice,skMore,addPrice,variety,price,discountPrice,skDiscountPrice,stock,stockWarning,presell,ratioType,smallRatio,smallUnit,bigUnit,ratio,actualSold';
         $itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
         $itemInfoData = ProductClass::groupProductInfo($itemInfoData, $level);