Commit 7f6ee1c6 authored by zhuwei's avatar zhuwei

1

parent 407df9cd
...@@ -67,6 +67,7 @@ class SubletModel extends BaseModel ...@@ -67,6 +67,7 @@ class SubletModel extends BaseModel
{ {
return $this->alias("a") return $this->alias("a")
->join("g_houses b","a.house_id=b.id","left") ->join("g_houses b","a.house_id=b.id","left")
->join("u_users c", "a.user_id = c.id", "left")
->where($params)->count(); ->where($params)->count();
} }
......
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