Commit c411412d authored by zhuwei's avatar zhuwei

纯房东2、非纯房东3筛选

parent 1ae0808d
......@@ -288,9 +288,15 @@ class Member extends Basic{
$where['a.referrer_source'] = 10 ;
}
//'客户列表' 需要排除排除纯房东客户
//$where['a.user_label'] = array( "neq", 2 );
//产品那个瘪一会儿要一会儿又不要,先注释
//纯房东2、非纯房东3筛选
if (!empty($params['is_single_homeowner'])) {
if ($params['is_single_homeowner'] == 2) {
$where['a.user_label'] = 2 ;
}elseif ($params['is_single_homeowner'] == 3) {
$where['a.user_label'] = array( "neq", 2 );
}
}
$fields = 'a.id,a.user_nick,a.create_time,a.user_name,a.user_phone,a.user_pic,a.create_time,a.user_pswd,a.referrer_id,a.user_label,
a.user_name,a.status,a.first_login_time,a.last_login_time,a.agent_id,a.vip,a.price_demand,a.industry_type,a.area_demand,a.user_status,a.source';
......
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