Commit a2ae88f6 authored by weijinyin's avatar weijinyin

发布房源,计算发布量走主库

parent ece0038f
...@@ -459,7 +459,7 @@ class House_base_model extends MY_Model { ...@@ -459,7 +459,7 @@ 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'";
return $this->find_count_by($where, 0); 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