Commit c693d2a0 authored by zw's avatar zw

看铺数量控制 首页显示

parent fb758573
......@@ -139,6 +139,7 @@ class ReportService
$sign_arr = $this->orderSign($ids_str);
foreach ($result as $k => $v) {
$result[$k]["sign"] = "";
foreach ($sign_arr as $value) {
if ($v["order_id"] == $value["order_id"]) {
$result[$k]["sign"] .= $this->signTitle($value["type"]) . ",";
......
......@@ -563,7 +563,7 @@ class GHouses extends BaseModel
->alias("a")
->join('g_houses_ext b', 'a.id=b.house_id', 'left')
->where($params)
->find($params["id"]);
->find($params["a.id"]);
}
/**
......
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