Commit b86e23eb authored by zhuwei's avatar zhuwei

业绩修改

parent bee2bf37
......@@ -74,7 +74,7 @@ class Performance extends Basic
// // "start_day" =>"",
// );
$params["type"] = 2;
$pageNo = empty($this->params['pageNo']) ? 1 : $this->params['pageNo'];
$pageSize = empty($this->params['pageSize']) ? 15 : $this->params['pageSize'];
//默认排序一周 2018-07-18改为本月
......@@ -114,6 +114,7 @@ class Performance extends Basic
// );
$params["type"] = 1;
$pageNo = empty($this->params['pageNo']) ? 1 : $this->params['pageNo'];
$pageSize = empty($this->params['pageSize']) ? 15 : $this->params['pageSize'];
......
......@@ -113,6 +113,8 @@ class TAgentTotalModel extends Model
->where($params)
->group($group_)
->order($order)
->limit($pageSize)
->page($pageNo)
->select();
// echo $this->db_->getLastSql();
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