Commit 3953ed3f authored by clone's avatar clone

Merge branch '0702-v.2.2.0' of https://gitee.com/zwyjjc/tl_estate into 0702-v.2.2.0

parents 4deba69b ef6b808e
...@@ -270,7 +270,7 @@ class OPayLogModel extends Model ...@@ -270,7 +270,7 @@ class OPayLogModel extends Model
->join("o_order b","a.order_id = b.id","left") ->join("o_order b","a.order_id = b.id","left")
->join("o_report c","b.f_id = c.id","left") ->join("o_report c","b.f_id = c.id","left")
->join('g_houses d','b.house_id = d.id','left') ->join('g_houses d','b.house_id = d.id','left')
->join('a_agents e','a.agent_id=e.id','left') ->join('a_agents e','c.report_agent_id=e.id','left')
->join('a_store f','e.store_id=f.id','left') ->join('a_store f','e.store_id=f.id','left')
->join('a_district g','f.district_id=g.id','left') ->join('a_district g','f.district_id=g.id','left')
->limit($pageSize) ->limit($pageSize)
...@@ -285,7 +285,7 @@ class OPayLogModel extends Model ...@@ -285,7 +285,7 @@ class OPayLogModel extends Model
->join("o_order b","a.order_id = b.id","left") ->join("o_order b","a.order_id = b.id","left")
->join("o_report c","b.f_id = c.id","left") ->join("o_report c","b.f_id = c.id","left")
->join('g_houses d','b.house_id = d.id','left') ->join('g_houses d','b.house_id = d.id','left')
->join('a_agents e','a.agent_id=e.id','left') ->join('a_agents e','c.report_agent_id=e.id','left')
->join('a_store f','e.store_id=f.id','left') ->join('a_store f','e.store_id=f.id','left')
->join('a_district g','f.district_id=g.id','left') ->join('a_district g','f.district_id=g.id','left')
->limit($pageSize) ->limit($pageSize)
......
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