Commit 519d8e14 authored by zhuwei's avatar zhuwei

搜索订单 搜全部

parent bbb07bb6
...@@ -8,6 +8,7 @@ use app\api_broker\extend\Basic; ...@@ -8,6 +8,7 @@ use app\api_broker\extend\Basic;
use app\api_broker\service\HouseNumUpdateService; use app\api_broker\service\HouseNumUpdateService;
use app\api_broker\service\OrderLogService; use app\api_broker\service\OrderLogService;
use app\api_broker\service\PushMessageService; use app\api_broker\service\PushMessageService;
use app\api_broker\service\ReportService;
use app\api_broker\service\VerifyRepetitionService; use app\api_broker\service\VerifyRepetitionService;
use app\api_broker\service\VipService; use app\api_broker\service\VipService;
use app\extra\RedisExt; use app\extra\RedisExt;
...@@ -558,11 +559,11 @@ class OrderLog extends Basic ...@@ -558,11 +559,11 @@ class OrderLog extends Basic
try { try {
$result = []; $result = [];
if(isset($params["is_all"]) && $params["is_all"] == 1){ if(isset($params["is_all"]) && $params["is_all"] == 1){
$vip = new VipService(); // $s_report = new ReportService();
$check = $vip->vip($this->agentId, 'index/inspectionRecordAll'); // $check_type = $s_report->getCheckType($this->agentId);
if ($check) { // if ($check_type == 0) {
return $this->response(101, "暂无权限"); // return $this->response(101, "暂无权限");
} // }
$result = $this->service_->getSearchOrderByAll($params,$pageNo,$pageSize); $result = $this->service_->getSearchOrderByAll($params,$pageNo,$pageSize);
}else{ }else{
$result = $this->service_->getSearchOrder($params,$pageNo,$pageSize); $result = $this->service_->getSearchOrder($params,$pageNo,$pageSize);
......
...@@ -137,17 +137,6 @@ class Report extends Basic ...@@ -137,17 +137,6 @@ 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);
} }
......
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