查镇级供应链 采购/销售金额

This commit is contained in:
chenbo 2023-12-25 18:05:29 +08:00
parent e4f3b3f432
commit 07a982fd68

View File

@ -401,7 +401,7 @@ class Statistics extends BaseController
->where($where)
->join('store_order o', 'o.mer_id=' . $mer_id . ' and o.paid=1 and o.is_del=0')
->sum('p.total_price');
$merName = $merchant('mer_name');
$merName = $merchant['mer_name'];
return app('json')->success(compact('merName', 'count'));
}
}