Commit a7264d59 authored by clone's avatar clone

bug

parent f85e4774
...@@ -370,8 +370,6 @@ class PerformanceService ...@@ -370,8 +370,6 @@ class PerformanceService
return null; return null;
} }
$field = "store_id,agent_id,sum(add_house_num) as add_house_num,sum(add_user_num) as add_user_num,sum(march_in_num) as march_in_num,
sum(performance) as performance,sum(official_receipts) as official_receipts";
$list = []; $list = [];
$now_date = date("Y-m-d", time()); $now_date = date("Y-m-d", time());
...@@ -416,6 +414,10 @@ class PerformanceService ...@@ -416,6 +414,10 @@ class PerformanceService
} else { } else {
$field = "store_id,agent_id,sum(add_house_num) as add_house_num,sum(add_user_num) as add_user_num,sum(march_in_num) as march_in_num,
sum(performance) as performance,sum(official_receipts) as official_receipts";
$params['total_time'] = array( 'between', array( $start_time . " 00:00:00", $end_time . " 23:59:59" ) ); $params['total_time'] = array( 'between', array( $start_time . " 00:00:00", $end_time . " 23:59:59" ) );
$order = "total_time desc"; $order = "total_time desc";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment