Commit cef80fe2 authored by hujun's avatar hujun

fields

parent 6dc5e5e1
......@@ -1519,7 +1519,7 @@ class OfficeOrderLogService
$where_house["a.type"] = ['in', '2,3'];
$where_house["a.is_del"] = 0;
$where_house["b.status"] = 0;
$agent_house = $houseAgents->getAgentsByHouseId($fields.',a.type', $where_house);
$agent_house = $houseAgents->getAgentsByHouseId($field.',a.type', $where_house);
$list = [];
$key = 0;
......
......@@ -561,17 +561,17 @@ class OfficeBargain extends Basic
return $this->response("101", "请求参数错误");
}
// try {
try {
$order_service = new OfficeOrderLogService();
$list = $order_service->searchBargainAllAgents($params["order_id"]);
// if (count($list) > 0) {
// return $this->response("200", "request success", $list);
// } else {
// return $this->response("200", "request null");
// }
// } catch (\Exception $e) {
// return $this->response("101", "request error,msg:" . $e);
// }
if (count($list) > 0) {
return $this->response("200", "request success", $list);
} else {
return $this->response("200", "request null");
}
} catch (\Exception $e) {
return $this->response("101", "request error,msg:" . $e);
}
}
/**
......
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