From 2f697e40aabb9a1edcaaa99b4577f689a56fcfc4 Mon Sep 17 00:00:00 2001 From: qianhy Date: Tue, 28 Feb 2023 09:51:08 +0800 Subject: [PATCH] orders aggs rpt group by city_id, fixbug piao --- common/libraries/receiver/Orders_v2_entity.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/common/libraries/receiver/Orders_v2_entity.php b/common/libraries/receiver/Orders_v2_entity.php index 7f5c68cb..ca819219 100644 --- a/common/libraries/receiver/Orders_v2_entity.php +++ b/common/libraries/receiver/Orders_v2_entity.php @@ -1173,10 +1173,11 @@ class Orders_v2_entity{ * @param $title_piao_today * @param $title_piao * @param $create_table_image + * @param $title * @return array */ public function aggs_biz_ding_piao_rpt($today_start='', $today_end='', $total_start='', $total_end='', - $title_today='', $title_ding_today='', $title_ding='', $title_piao_today='', $title_piao='', $create_table_image=false, $title='日期'){ + $title_today='', $title_ding_today='', $title_ding='', $title_piao_today='', $title_piao='', $create_table_image=false, $title='区域'){ !$today_start && $today_start = date('Y-m-d 00:00:00'); !$today_end && $today_end = date('Y-m-d 00:00:00', strtotime('+1 day')); !$total_start && $total_start = date('Y-m-01 00:00:00'); @@ -1264,8 +1265,8 @@ class Orders_v2_entity{ } $arr3[$k.'_piao_today'] = $k; }*/ - /*$arr3 = array_merge($arr3, array('doc_piao'=>$title_piao)); - foreach ($series_names as $k => $v){ + $arr3 = array_merge($arr3, array('doc_piao'=>$title_piao)); + /*foreach ($series_names as $k => $v){ $indexs_total[] = $k.'_piao'; $arr3[$k.'_piao'] = $k; # 品牌在系列前 foreach ($v as $k1 => $v1){