Commit 9d9ee3c0 authored by hujun's avatar hujun

agents_id

parent 3b6e7cc2
...@@ -1139,8 +1139,10 @@ class Broker extends Basic ...@@ -1139,8 +1139,10 @@ class Broker extends Basic
$m_secret_report = new SecretReport(); $m_secret_report = new SecretReport();
$field = 'a.id,a.call_time,a.users_id,a.time,b.name'; $field = 'a.id,a.call_time,a.users_id,a.time,b.name';
// $where['a.agents_id'] = $params["agents_id"];
$where = []; if (!empty($params['agents_id'])) {
$where['a.agents_id'] = $params["agents_id"];
}
// if (!empty($params['start_date']) && !empty($params['end_date'])) { // if (!empty($params['start_date']) && !empty($params['end_date'])) {
// $where['a.call_time'] = array('between', array($params['start_date']. ' 00:00:00', $params['end_date']. ' 23:59:59')); // $where['a.call_time'] = array('between', array($params['start_date']. ' 00:00:00', $params['end_date']. ' 23:59:59'));
......
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