Commit 609a955a authored by clone's avatar clone

1

parent 96224f91
...@@ -192,7 +192,7 @@ class OfficeGRoomToAgent extends BaseModel ...@@ -192,7 +192,7 @@ class OfficeGRoomToAgent extends BaseModel
$result = Db::name($this->table) $result = Db::name($this->table)
->field($field) ->field($field)
->alias("a") ->alias("a")
->join("office_g_room b","a.house=b.id") ->join("office_g_room b","a.house_id=b.id")
->join("office_g_building c","b.building_id=c.id") ->join("office_g_building c","b.building_id=c.id")
->where($params) ->where($params)
->group("a.house_id") ->group("a.house_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