Commit eac1bdbd authored by zhuwei's avatar zhuwei

业绩导出

parent 747f9cd4
...@@ -319,6 +319,8 @@ class PerformanceService ...@@ -319,6 +319,8 @@ class PerformanceService
if (!empty($params['site_id'])) { if (!empty($params['site_id'])) {
$where_['d.site_id'] = $params['site_id']; $where_['d.site_id'] = $params['site_id'];
} }
$where_['d.site_id'] = 10002;
//区域搜索条件 //区域搜索条件
if (!empty($params['district_id'])) { if (!empty($params['district_id'])) {
$where_['a.district_id'] = $params['district_id']; $where_['a.district_id'] = $params['district_id'];
......
...@@ -144,7 +144,7 @@ class TAgentTotalModel extends Model ...@@ -144,7 +144,7 @@ class TAgentTotalModel extends Model
->group($group_) ->group($group_)
->order($order) ->order($order)
->select(); ->select();
//echo $this->db_->getLastSql(); //echo $this->db_->getLastSql();exit;
return $result; return $result;
} }
......
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