|
@@ -49,7 +49,7 @@ public class PositionController {
|
|
|
ExcelHelper.ExcelData data = excelHelper.new ExcelData();
|
|
|
data.setTitles(Arrays.asList(new String[]{"实习学年", "年级专业", "基地类型", "单位名称", "岗位名称", "岗位数量", "备注"}));
|
|
|
|
|
|
- List<List<Object>> rowDatas = new ArrayList();
|
|
|
+ List<List<Object>> rowData = new ArrayList();
|
|
|
for (PositionModel item : result.getList()) {
|
|
|
List<Object> row = new ArrayList();
|
|
|
row.add(item.schoolYear);
|
|
@@ -60,10 +60,10 @@ public class PositionController {
|
|
|
row.add(item.getQty());
|
|
|
row.add(item.getRemark());
|
|
|
|
|
|
- rowDatas.add(row);
|
|
|
+ rowData.add(row);
|
|
|
}
|
|
|
|
|
|
- data.setRows(rowDatas);
|
|
|
+ data.setRows(rowData);
|
|
|
excelHelper.exportExcel(response, data);
|
|
|
|
|
|
return null;
|