|
@@ -51,6 +51,7 @@ class Sms_customer_list_adminAction extends Action{
|
|
|
$pa .= "&group_name=$group_name";
|
|
|
}
|
|
|
|
|
|
+ $where.=" and is_block=0";
|
|
|
$customer_list = $admin->selesctSmsCustomer($where,$limit);
|
|
|
$all_total = $admin->selectSmsCustomerCount($where);
|
|
|
|
|
@@ -85,13 +86,14 @@ class Sms_customer_list_adminAction extends Action{
|
|
|
$pa = "";//查询参数
|
|
|
$pa='&pagesize='.$pageSize;
|
|
|
$limit = " $n,$pageSize";
|
|
|
- $where = " where uid='$uid' and is_block=1 ";
|
|
|
+ $where = " where uid='$uid' ";
|
|
|
|
|
|
$tel = trim($_REQUEST['tel']);
|
|
|
if(!empty($tel)) {
|
|
|
$where.=" and tel='$tel'";
|
|
|
}
|
|
|
|
|
|
+ $where.=" and is_block=1";
|
|
|
$customer_list = $admin->selesctSmsCustomer($where,$limit);
|
|
|
$all_total = $admin->selectSmsCustomerCount($where);
|
|
|
|