feat: 微信登录获取用户信息,客户列表按最后登录排序

This commit is contained in:
Agent
2026-03-24 03:24:10 +00:00
parent 4fb18fc40e
commit cffb88d368
3 changed files with 9 additions and 0 deletions

View File

@@ -32,6 +32,9 @@ public class AuthServiceImpl implements AuthService {
@Autowired
private CustomerMapper customerMapper;
@Autowired
private CustomerMapper customerMapper;
@Autowired
private JwtUtil jwtUtil;

View File

@@ -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);
}