Commit 01974d15 authored by zhuwei's avatar zhuwei

12

parent 513fd6f0
......@@ -84,6 +84,7 @@ class OfficeRemark extends Basic
}
$result = [];
if ($site_id == "10001" && ($this->params['agent_id'] > 0 || !empty($this->params["content"])) && $is_today && empty($this->params['user_id'])) {
dump('33333');
$searchService = new SearchService();
$this->params['search_content'] = $this->params['content'];
$this->params['start_time'] = strtotime($this->params['start_date'] . ' 00:00:00');
......@@ -93,6 +94,7 @@ class OfficeRemark extends Basic
$result = $search_result["result"]["items"];
$if_search = true;
} else {
dump(444444);
$follow_up_service = new OfficePhoneFollowUpService($site_id);
$result_list = $follow_up_service->getPhoneFollowList($this->params['start_date'], $this->params['end_date'], $where, $this->userId);
if ($result_list['code'] == 200) {
......
......@@ -95,8 +95,11 @@ class OfficePhoneFollowUpService
$date = date("Y-m-d", time());
if ($end_time == $date && $start_time == $date) {
big_log(5555);
$data = $this->phoneFollowUpTemporary->getFollowList($page_no, $page_size, $order_ = 'id desc', $field, $where);
} else {
big_log(66666);
$data = $this->phoneFollowUp->getFollowList($page_no, $page_size, $order_ = '', $field, $where);
}
......
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