shish 2 anos atrás
pai
commit
b6001d213f
1 arquivos alterados com 0 adições e 3 exclusões
  1. 0 3
      console/controllers/RefundController.php

+ 0 - 3
console/controllers/RefundController.php

@@ -35,9 +35,6 @@ class RefundController extends Controller
                     $cgRefund = CgRefundClass::getById($cgRefundId, true);
                     if (empty($cgRefund)) {
                         echo "{$orderSn} 没有找到采购的退款信息\n";
-                        RefundOrderItemClass::deleteByCondition(['orderSn'=>$orderSn]);
-                        RefundOrderClass::deleteByCondition(['orderSn'=>$orderSn]);
-                        $transaction->commit();
                         continue;
                     }
                     $cgRefundStatus = $cgRefund->status;