Commit 79d5b0a4 authored by chenlei's avatar chenlei

分站激活失效房源检查激活房源数量,去掉冻结房源的数量

parent 86c6b91c
...@@ -458,7 +458,8 @@ class House_base_model extends MY_Model { ...@@ -458,7 +458,8 @@ class House_base_model extends MY_Model {
*/ */
public function valid_house_num($uid) public function valid_house_num($uid)
{ {
$where = "uid = $uid AND esta in ({$this->house_esta['active']},{$this->house_esta['frozen']}) AND infofrom = '5'"; // $where = "uid = $uid AND esta in ({$this->house_esta['active']},{$this->house_esta['frozen']}) AND infofrom = '5'";
$where = "uid = $uid AND esta={$this->house_esta['active']} AND infofrom = '5'"; //2020-08-31 chenlei 去掉冻结房源的数量
return $this->find_count_by($where, 1); return $this->find_count_by($where, 1);
} }
......
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