Commit 4a597f84 authored by hujun's avatar hujun

通话记录客户id搜索

parent 6da7caae
...@@ -46,6 +46,10 @@ class CellPhone extends Basic ...@@ -46,6 +46,10 @@ class CellPhone extends Basic
$where['a.call_time'] = [ '> time', $this->params['start_date'] . ' 00:00:00' ]; $where['a.call_time'] = [ '> time', $this->params['start_date'] . ' 00:00:00' ];
} }
if (!empty($this->params['users_id'])) {
$where['a.users_id'] = $this->params['users_id'];
}
if (!empty($this->params['end_date'])) { if (!empty($this->params['end_date'])) {
$where['a.call_time'] = [ '< time', $this->params['end_date'] . ' 23:59:59' ]; $where['a.call_time'] = [ '< time', $this->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