Commit e22891d2 authored by zhuwei's avatar zhuwei

bug

parent 2d872322
......@@ -278,10 +278,11 @@ class GHousesToAgents extends BaseModel
public function getHousesUpdateAgents($houses_id)
{
$select_data = $this
->field('b.id,name,a.type,b.phone,c.store_name')
->field('b.id,name,a.type,b.phone,c.store_name,d.district_name')
->alias('a')
->join('a_agents b', 'a.agents_id = b.id', 'LEFT')
->join("a_store c", "b.store_id = c.id", "left")
->join('a_district d', 'b.district_id = d.id', 'left')
->where([
'houses_id' => $houses_id,
'type' => 2,
......
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