Commit 08dc00d0 authored by hujun's avatar hujun

all

parent 75940a3b
...@@ -182,7 +182,7 @@ class Report extends Basic ...@@ -182,7 +182,7 @@ class Report extends Basic
if (empty($agents_data)) { if (empty($agents_data)) {
return $this->response("200", "request null"); return $this->response("200", "request null");
} }
// if (isset($params["is_all"]) && $params["is_all"] == 1) { if ($params['check_status'] != 3) {
$params["report_agent_id"] = $agents_data['id']; $params["report_agent_id"] = $agents_data['id'];
$check_type = 1; $check_type = 1;
...@@ -210,9 +210,9 @@ class Report extends Basic ...@@ -210,9 +210,9 @@ class Report extends Basic
$result = $this->service_->orderListAll($field, $params, $pageNo, $pageSize, $check_type); $result = $this->service_->orderListAll($field, $params, $pageNo, $pageSize, $check_type);
// } else { } else {
// $result = $this->service_->orderList($field, $params, $pageNo, $pageSize); $result = $this->service_->orderList($field, $params, $pageNo, $pageSize);
// } }
if (count($result) > 0) { if (count($result) > 0) {
return $this->response("200", "request success", $result); return $this->response("200", "request success", $result);
} else { } else {
......
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