修改模板下载表头

This commit is contained in:
wans 2021-03-19 11:28:52 +08:00
parent e2ad26055e
commit f78fe6bd77

View File

@ -138,8 +138,8 @@ public class BasePopulationInfoController extends AbstractController {
response.setHeader("Content-disposition", "attachment;filename=" + fileName + ".xlsx");
List<List<String>> listHeaders = new ArrayList<>();
String [] headers = {
"公民身份证","姓名","曾用名","性别","出生日期","民族","籍贯","婚姻情况","政治面貌","学历","宗教信仰","职业类别",
"职业","服务处所","联系方式","户籍地","户籍地门(楼)详址","现住地", "市/直辖","区/县","现住地门(楼)详址"
"公民身份证(请勿出现科学计数法)","姓名","曾用名","性别","出生日期(按照2020-01-01格式填写)","民族","籍贯","婚姻情况","政治面貌","学历","宗教信仰","职业类别",
"职业","服务处所","联系方式(请勿出现科学计数法)","户籍地","户籍地门(楼)详址","现住地", "现住地门(楼)详址"
};
List<List<String>> listHeader = new ArrayList<>();
for (String item : headers){