Commit cbf8f7b1 authored by hujun's avatar hujun

推荐经纪人搜索时间修改

parent fe64ee4a
...@@ -55,7 +55,7 @@ class Broker extends Basic ...@@ -55,7 +55,7 @@ class Broker extends Basic
$m_report = new OReportModel(); $m_report = new OReportModel();
$report_fields = 'COUNT( a.report_agent_id ) AS num,a.report_agent_id '; $report_fields = 'COUNT( a.report_agent_id ) AS num,a.report_agent_id ';
$report_where['b.house_id'] = $params['house_id']; $report_where['b.house_id'] = $params['house_id'];
$report_where['a.create_time'] = ['between', [date('Y-m-d'), date('Y-m-d', strtotime("-30 day"))]]; $report_where['a.create_time'] = ['between', [date('Y-m-d', strtotime("-30 day")), date('Y-m-d')]];
$report_agent_id = $m_report->getMaxReportAgent($report_fields, $report_where); $report_agent_id = $m_report->getMaxReportAgent($report_fields, $report_where);
if (!empty($report_agent_id['report_agent_id'])) { if (!empty($report_agent_id['report_agent_id'])) {
......
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