shish 2 лет назад
Родитель
Сommit
4e97886e23
1 измененных файлов с 2 добавлено и 0 удалено
  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;