Commit 962c72cf authored by zw's avatar zw

带看列表显示商铺地址

parent fbdcc47a
......@@ -1122,33 +1122,13 @@ class OrderLogService
$orderModel = new OrderModel();
$result = $orderModel->searchOrder($field, $condition, $where_, $pageNo, $pageSize);
$reportService = new ReportService();
return $reportService->houseInfo($result);
$ids_str = "";
if (count($result) <= 0) {
return null;
} else {
foreach ($result as $k => $v) {
$ids_str .= $v["id"] . ",";
}
$ids_str = rtrim($ids_str, ",");
$reportService = new ReportService();
$sign_arr = $reportService->orderSign($ids_str);
foreach ($result as $k => $v) {
foreach ($sign_arr as $value) {
if ($v["id"] == $value["order_id"]) {
$result[$k]["sign"] .= $reportService->signTitle($value["type"]) . ",";
}
}
}
return $result;
}
}
/**
* @param $params1.客户姓名 2.报备人电话 3.报备人姓名 4.商铺名称 5.商铺地址
* @param $params1 .客户姓名 2.报备人电话 3.报备人姓名 4.商铺名称 5.商铺地址
* @param $pageNo
* @param $pageSize
* @return array|mixed
......
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