修复无法正常导入团队成员的问题
Signed-off-by: vilson <545522390@qq.com>
This commit is contained in:
parent
f83275f47b
commit
f41fdebb8f
@ -172,6 +172,8 @@ class DepartmentMember extends CommonModel
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$this->inviteMember($memberAccount['code'], '');
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -71,7 +71,7 @@ class Account extends BasicApi
|
||||
list($start, $end) = explode('~', $params['date']);
|
||||
$where[] = ['last_login_time', 'between', ["{$start} 00:00:00", "{$end} 23:59:59"]];
|
||||
}
|
||||
$list = $this->model->_list($where, 'id asc');
|
||||
$list = $this->model->_list($where, 'id desc');
|
||||
if ($list['list']) {
|
||||
foreach ($list['list'] as &$item) {
|
||||
$memberInfo = Member::where(['code' => $item['member_code']])->field('id', true)->find();
|
||||
|
Loading…
x
Reference in New Issue
Block a user