|
@@ -66,9 +66,9 @@ public class StudentController extends BaseController {
|
|
|
}
|
|
|
OutputStream outputStream = response.getOutputStream();
|
|
|
try {
|
|
|
- HSSFWorkbook workbook = POIUtil.exportExcel(new String[]{"学生编号", "学生姓名", "性别", "出生日期",
|
|
|
+ HSSFWorkbook workbook = POIUtil.exportExcel(new String[]{"学生编号", "学生姓名", "真实姓名", "性别", "出生日期",
|
|
|
"年龄", "专业", "手机号码", "是否是会员", "注册时间"}, new String[]{
|
|
|
- "userId", "realName", "gender.msg", "birthdate", "age", "subjectName", "phone",
|
|
|
+ "userId","username" , "realName", "gender.msg", "birthdate", "age", "subjectName", "phone",
|
|
|
"isVip.msg", "createTime"}, rows);
|
|
|
response.setContentType("application/octet-stream");
|
|
|
response.setHeader("Content-Disposition", "attac:wq" +
|