Commit 224aa4f5 authored by hujun's avatar hujun

通话汇总条件

parent c685cb9b
......@@ -110,7 +110,7 @@ class CellPhone extends Basic
$report = new SecretReport();
$field = 'a.id,b.phone,sum(time) as time,agents_id,call_type,release_time,start_time';
$where = [];
$where['time'] = ['>', 0];
if (!empty($this->params['start_date']) && empty($this->params['end_date'])) {
$where['a.create_time'] = [ '> time', $this->params['start_date'] ];
......
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