shish %!s(int64=4) %!d(string=hai) anos
pai
achega
31ee713fa6
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      biz-ghs/order/classes/RefundOrderClass.php

+ 2 - 2
biz-ghs/order/classes/RefundOrderClass.php

@@ -103,6 +103,8 @@ class RefundOrderClass extends BaseClass
 
 
             $sjId = $productData[$productId]['sjId'] ?? 0;
             $sjId = $productData[$productId]['sjId'] ?? 0;
             $shopId = $productData[$productId]['shopId'] ?? 0;
             $shopId = $productData[$productId]['shopId'] ?? 0;
+            $tmp['sjId'] = $sjId;
+            $tmp['shopId'] = $shopId;
 
 
             $itemInfo = [
             $itemInfo = [
                 'itemName' => $name,
                 'itemName' => $name,
@@ -116,8 +118,6 @@ class RefundOrderClass extends BaseClass
                 'rank' => $rank,
                 'rank' => $rank,
                 'bigUnit' => $productData[$productId]['bigUnit'],
                 'bigUnit' => $productData[$productId]['bigUnit'],
                 'smallUnit' => $productData[$productId]['smallUnit'],
                 'smallUnit' => $productData[$productId]['smallUnit'],
-                'sjId' => $sjId,
-                'shopId' => $shopId,
             ];
             ];
             $tmp['itemInfo'] = json_encode($itemInfo);
             $tmp['itemInfo'] = json_encode($itemInfo);
             $batchData[] = $tmp;
             $batchData[] = $tmp;