544782275@qq.com 3 年之前
父节点
当前提交
badef67533
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/store/controller/Order.php

+ 1 - 1
application/store/controller/Order.php

@@ -66,7 +66,7 @@ class Order extends Controller
         $array['weixin_refund_all_price'] = $this->byWhere(2)->where('a.refund_price', '>',0)->where('a.pay_type', '1')->sum('a.refund_price');
         $array['weixin_all_price'] = $array['weixin_all_price'] - $array['weixin_refund_all_price'];
         $array['zfb_all_price'] = $this->byWhere(2)->where('a.status', '>',0)->where('a.pay_type', '2')->sum('a.price_total');
-        $array['zfb_refund_all_price'] = $this->byWhere(2)->where('a.refund_price', '>',0)->where('a.pay_type', '2')->sum('a.price_total');
+        $array['zfb_refund_all_price'] = $this->byWhere(2)->where('a.refund_price', '>',0)->where('a.pay_type', '2')->sum('a.refund_price');
         $array['zfb_all_price'] = $array['zfb_all_price'] - $array['zfb_refund_all_price'];
         $array['engineer_id'] = session('user.engineer_id');
         return $array;