Kaynağa Gözat

退款工單處理

whitefang 1 yıl önce
ebeveyn
işleme
4de1e082d2
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      app/common/logic/PayNotifyLogic.php

+ 1 - 1
app/common/logic/PayNotifyLogic.php

@@ -105,7 +105,7 @@ class PayNotifyLogic extends BaseLogic
 
             //判断是否是一口价预支付订单,支付成功后生成尾款订单
             $order_goods = OrderGoods::where('sn',$order->sn)->findOrEmpty();
-            if(!$order_goods->isEmpty() and $order_goods->goods_payment_type == 3 and bcsub($order_goods->base_service_fee,$order_goods->service_fee,2)>0){
+            if(!$order_goods->isEmpty() and $order_goods->goods_payment_type == 3 and bcsub($order_goods->base_service_fee,$order_goods->service_fee,2)>=0){
                 //新增待支付尾款
                 $order_data = [
                     'order_type'=>$order['order_type'],