Commit 44637095 authored by hujun's avatar hujun

客户列表搜索 first_login_time last_login_time为登录条件

parent 5f9b7949
......@@ -128,7 +128,7 @@ class Member extends Basic{
//是否登录过
if (!empty($params['login_status']) && $params['login_status'] != -1) {
if ($params['login_status'] == 1) {
$where['a.first_login_time'] = ['NOT NULL'];
$where[] = ['EXP', 'a.first_login_time IS NOT NULL OR a.last_login_time IS NOT NULL'];
} else {
$where['a.first_login_time'] = ['NULL'];
}
......
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