orders aggs_biz_ding_piao_rpt, fixbug key_ding key_piao
This commit is contained in:
@@ -1123,21 +1123,21 @@ class Orders_v2_entity{
|
||||
$key_piao_series_hj = $v['brand_name'].'_'.$v['series_name'].'_doc_piao';
|
||||
|
||||
if ($temp = intval($v['doc_ding'])){
|
||||
$kv[$key_ding] = $temp;
|
||||
$kv[$key_ding_xj] = $kv[$key_ding_xj] ? $kv[$key_ding_xj] + $temp: $temp;
|
||||
$kv[$key_ding_hj] = $kv[$key_ding_hj] ? $kv[$key_ding_hj] + $temp: $temp;
|
||||
$kv[$key_ding_series] = $temp;
|
||||
$kv[$key_ding_series_xj] = $kv[$key_ding_series_xj] ? $kv[$key_ding_series_xj] + $temp: $temp;
|
||||
$kv[$key_ding_series_hj] = $kv[$key_ding_series_hj] ? $kv[$key_ding_series_hj] + $temp: $temp;
|
||||
$kv[$key_ding] = $kv[$key_ding] ? $kv[$key_ding] + $temp: $temp;
|
||||
$kv[$key_ding_xj] = $kv[$key_ding_xj] ? $kv[$key_ding_xj] + $temp: $temp;
|
||||
$kv[$key_ding_hj] = $kv[$key_ding_hj] ? $kv[$key_ding_hj] + $temp: $temp;
|
||||
}
|
||||
|
||||
if ($temp = intval($v['doc_piao'])){
|
||||
$kv[$key_piao] = $temp;
|
||||
$kv[$key_piao_xj] = $kv[$key_piao_xj] ? $kv[$key_piao_xj] + $temp: $temp;
|
||||
$kv[$key_piao_hj] = $kv[$key_piao_hj] ? $kv[$key_piao_hj] + $temp: $temp;
|
||||
$kv[$key_piao_series] = $temp;
|
||||
$kv[$key_piao_series_xj] = $kv[$key_piao_series_xj] ? $kv[$key_piao_series_xj] + $temp: $temp;
|
||||
$kv[$key_piao_series_hj] = $kv[$key_piao_series_hj] ? $kv[$key_piao_series_hj] + $temp: $temp;
|
||||
$kv[$key_piao] = $kv[$key_piao] ? $kv[$key_piao] + $temp: $temp;
|
||||
$kv[$key_piao_xj] = $kv[$key_piao_xj] ? $kv[$key_piao_xj] + $temp: $temp;
|
||||
$kv[$key_piao_hj] = $kv[$key_piao_hj] ? $kv[$key_piao_hj] + $temp: $temp;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user