소스 검색

去掉多加的数据

shish 4 년 전
부모
커밋
e15becad16
2개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 1
      biz-ghs/order/classes/OrderItemClass.php
  2. 0 3
      console/controllers/RefundItemController.php

+ 0 - 1
biz-ghs/order/classes/OrderItemClass.php

@@ -82,7 +82,6 @@ class OrderItemClass extends BaseClass
                 }
             }
         }
-        self::batchAdd($product);
         return $respond;
     }
 

+ 0 - 3
console/controllers/RefundItemController.php

@@ -60,9 +60,6 @@ class RefundItemController extends Controller
             $itemList = OrderItemClass::getAllByCondition(['orderSn' => $orderSn], null, '*', null, true);
             if (!empty($itemList)) {
                 foreach ($itemList as $itemInfo) {
-                    if ($itemInfo->id == 3381) {
-                        echo "找到3381 \n";
-                    }
                     $sjId = $itemInfo->sjId ?? 0;
                     $shopId = $itemInfo->shopId ?? 0;
                     $productId = $itemInfo->productId ?? 0;