作者 王晓刚
1 个管道 的构建 通过 耗费 1 秒

统计

... ... @@ -104,7 +104,7 @@ class StatisticsController extends AdminBaseController
->where("status != 1 and status != -1")
->where('is_del',0)
->sum('total_price');
$receiver_yesterday[] = ["$r_d[receiver_county]"];
$receiver_yesterday[] = ["$r_d[receiver_province]$r_d[receiver_county]"];
$receiver_yesterday[$key][] = $receiver_yesterday_place;
$receiver_yesterday[$key][] = $receiver_yesterday_cancel;
$receiver_yesterday[$key][] = $receiver_yesterday_get;
... ... @@ -140,7 +140,7 @@ class StatisticsController extends AdminBaseController
->where("status != 1 and status != -1")
->where('is_del',0)
->sum('total_price');
$receiver_today[] = ["$r_d[receiver_province]|$r_d[receiver_county]"];
$receiver_today[] = ["$r_d[receiver_province]$r_d[receiver_county]"];
$receiver_today[$key][] = $receiver_today_place;
$receiver_today[$key][] = $receiver_today_cancel;
$receiver_today[$key][] = $receiver_today_get;
... ...