dream 6 月之前
父节点
当前提交
3f3daeb451
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Modules/Seller/Model/CommonorderModel.class.php

+ 2 - 2
Modules/Seller/Model/CommonorderModel.class.php

@@ -31,9 +31,9 @@ class CommonorderModel{
 		$total_quantity = M('lionfish_comshop_order_goods')->where( "order_id ={$order_id} {$where}" )->sum('quantity');
 		
 		$total_quantity = empty($total_quantity) ? 0 : $total_quantity;
-		var_dump($total_quantity);
+		
 		$refund_quantity = $this->refund_order_goods_quantity( $order_id,$order_goods_id,$uniacid);
-		 
+		var_dump($refund_quantity);
 		 $surplus_quantity = $total_quantity - $refund_quantity;
 		if($order_info['delivery'] == 'hexiao'){
 		    $used_quantity = D('Home/Salesroom')->get_hexiao_order_goods_used_quantity($order_id,$order_goods_id);