Commit fd453c7d authored by zhuwei's avatar zhuwei

后台 求租已租

parent bb2b3554
...@@ -148,6 +148,15 @@ class Houses extends Basic ...@@ -148,6 +148,15 @@ class Houses extends Basic
} }
} }
//residue_type 0已租,1求租
if (!empty($this->params['residue_type'])) {
if($this->params['residue_type'] == 1){
$where['residue_num'] = array('gt',0);
}else{
$where['residue_num'] = 0;
}
}
/*0是1否显示在c端用户*/ /*0是1否显示在c端用户*/
if ($this->params['is_show'] != -1) { if ($this->params['is_show'] != -1) {
if ($this->params['is_show'] == 1) { if ($this->params['is_show'] == 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