|
@@ -1591,10 +1591,15 @@ public class ExportController extends BaseController {
|
|
|
} else {
|
|
|
row.setGender("女");
|
|
|
}
|
|
|
+ if(row.getStatus().equals(2)){
|
|
|
+ row.setStatusStr("缴费");
|
|
|
+ } else {
|
|
|
+ row.setStatusStr("报名");
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
- String[] header = {"名字", "性别", "身份证号", "城市", "学校", "乐器", "考试级别", "乐理级别", "乐理级别证书", "家长联系电话", "考级费用", "乐理费用", "备注"};
|
|
|
- String[] body = {"name", "gender", "idcard", "city", "school", "subject", "level", "theoryLevel", "theoryCert", "mobile", "money", "theoryMoney", "memo"};
|
|
|
+ String[] header = {"名字", "性别", "身份证号", "城市", "学校", "乐器", "考试级别", "乐理级别", "乐理级别证书", "家长联系电话", "考级费用", "乐理费用", "备注","状态"};
|
|
|
+ String[] body = {"name", "gender", "idcard", "city", "school", "subject", "level", "theoryLevel", "theoryCert", "mobile", "money", "theoryMoney", "memo","statusStr"};
|
|
|
HSSFWorkbook workbook = POIUtil.exportExcel(header, body, pageList.getRows());
|
|
|
response.setContentType("application/octet-stream");
|
|
|
response.setHeader("Content-Disposition", "attachment;filename=lender-" + DateUtil.getDate(new Date()) + ".xls");
|