feat: 微信登录获取用户信息,客户列表按最后登录排序
This commit is contained in:
@@ -32,6 +32,9 @@ public class AuthServiceImpl implements AuthService {
|
||||
@Autowired
|
||||
private CustomerMapper customerMapper;
|
||||
|
||||
@Autowired
|
||||
private CustomerMapper customerMapper;
|
||||
|
||||
@Autowired
|
||||
private JwtUtil jwtUtil;
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ public class CustomerServiceImpl implements CustomerService {
|
||||
.like(Customer::getPhone, keyword);
|
||||
}
|
||||
wrapper.orderByDesc(Customer::getLastLoginAt);
|
||||
wrapper.orderByDesc(Customer::getLastLoginAt);
|
||||
wrapper.orderByDesc(Customer::getCreatedAt);
|
||||
return customerMapper.selectPage(pageParam, wrapper);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user