Commit 183e740f authored by clone's avatar clone

bug

parent ea51f172
...@@ -707,12 +707,15 @@ class GHouses extends BaseModel ...@@ -707,12 +707,15 @@ class GHouses extends BaseModel
if (isset($params["status"])) { if (isset($params["status"])) {
$where_["status"] = $params["status"]; $where_["status"] = $params["status"];
} }
if (isset($params["residue_num"])) {
$where_["residue_num"] = $params["residue_num"];
}
$result = Db::table($this->table) $result = Db::table($this->table)
->field($field) ->field($field)
->where($where_) ->where($where_)
->select(); ->select();
//echo Db::table($this->table)->getLastSql(); // echo Db::table($this->table)->getLastSql();
return $result; return $result;
} }
/** /**
......
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