Commit 0cbf23f3 authored by zhuwei's avatar zhuwei

全部客户逻辑修改

parent cae646d1
...@@ -256,11 +256,13 @@ class Client extends Basic ...@@ -256,11 +256,13 @@ class Client extends Basic
if ($search_type != '2') if ($search_type != '2')
{//全部客户 {//全部客户
if($type == '0') if($search_type == ''){
{//求租:0 ;已租:1 数据库0:求租;1:已租;-1:无效 if($type == '0')
$conditions['user_status'] = 0; {//求租:0 ;已租:1 数据库0:求租;1:已租;-1:无效
}else{// $conditions['user_status'] = 0;
$conditions['user_status'] = 1; }else{//
$conditions['user_status'] = 1;
}
} }
$user = new Users(); $user = new Users();
$user_res = $user->all_user($conditions,$pagesize,$pagenum); $user_res = $user->all_user($conditions,$pagesize,$pagenum);
......
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