Commit d9d21b1d by Jbb

修改上传Excel数据下载时的表头

parent bb375d96
......@@ -176,10 +176,10 @@ public class TbStLayerDataController {
XSSFSheet sheet = wb.createSheet();
//给个标题头
XSSFRow rowTitle = sheet.createRow(0);
rowTitle.createCell(0).setCellValue("经度");
rowTitle.createCell(1).setCellValue("纬度");
rowTitle.createCell(2).setCellValue("标题");
rowTitle.createCell(3).setCellValue("时间");
rowTitle.createCell(0).setCellValue("X");
rowTitle.createCell(1).setCellValue("Y");
rowTitle.createCell(2).setCellValue("TITLE");
rowTitle.createCell(3).setCellValue("TIME");
for (int i = 0; i < pointList.size(); i++) {
TbStLayerData accidentPoint = pointList.get(i);
String title = accidentPoint.getTitle();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment