$sql = '%' . $type . '%'; $count = D('Volunt_member') ->where("`status`=1 AND `city_id`='{$this->config['now_city']}' AND `service_ty` LIKE '{$sql}'") ->count();