Commit 0cbf23f3 authored by zhuwei's avatar zhuwei

全部客户逻辑修改

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