|
|
|
@ -93,9 +93,9 @@ public class UserController {
|
|
|
|
|
public void excel(HttpServletResponse response, @Validated @RequestBody UParam param) throws IOException {
|
|
|
|
|
//这是表头及格式
|
|
|
|
|
String[][] array ={
|
|
|
|
|
{"员工","部门","上级部门","手机号","创建时间","上次登录"},
|
|
|
|
|
{"name", "main_departmentName","sub_departmentName","tel","creatAt","lastLoginAt"},
|
|
|
|
|
{"String", "String","String","String","LocalDateTime","LocalDateTime"}
|
|
|
|
|
{"员工","部门","上级部门","手机号","积分","历史积分","创建时间","上次登录"},
|
|
|
|
|
{"name", "main_departmentName","sub_departmentName","tel","points","historyPoints","creatAt","lastLoginAt"},
|
|
|
|
|
{"String", "String","String","String","int","int","LocalDateTime","LocalDateTime"}
|
|
|
|
|
};
|
|
|
|
|
QueryWrapper<User> qw = new QueryWrapper<>();
|
|
|
|
|
qw
|
|
|
|
|