Jelajahi Sumber

花材分类

shish 2 tahun lalu
induk
melakukan
4e97886e23
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      biz-ghs/product/classes/ProductClass.php

+ 2 - 0
biz-ghs/product/classes/ProductClass.php

@@ -1166,6 +1166,7 @@ class ProductClass extends BaseClass
             $itemId = $currentGhsProduct['itemId'] ?? 0;
             $ratio = $currentGhsProduct['ratio'] ?? 0;
             $cost = $currentGhsProduct['cost'] ?? 0;
+            $classId = $currentGhsProduct['classId'] ?? 0;
 
             $bigNum = $v['bigNum'] ?? 0;
             $smallNum = $v['smallNum'] ?? 0;
@@ -1229,6 +1230,7 @@ class ProductClass extends BaseClass
             $tmp['shopId'] = $currentGhsProduct['shopId'] ?? 0;
             $tmp['mainId'] = $currentGhsProduct['mainId'] ?? 0;
             $tmp['smallUnitPrice'] = $itemPrice;
+            $tmp['classId'] = $classId;
 
             $totalBigNum += $bigNum;
             $totalSmallNum += $smallNum;