Commit 6ae2ef21 authored by Tkunkun's avatar Tkunkun

导出功能修改

parent db4af367
......@@ -722,25 +722,4 @@ public class EquipmentController extends AbstractBaseController {
FileHelper.exportExcel(equipmentPars, "装备清单", "装备清单", Equipment.class, fileName + ".xls", response);
}
}
@ApiOperation(value = "测试", notes = "测试")
@GetMapping(value = "/export1111")
@TycloudOperation(ApiLevel = UserType.AGENCY,needAuth = false)
public void exportDangerList(HttpServletResponse response) {
String fileName = "装备清单" + new Date().getTime();
ArrayList<Test01> list = new ArrayList<>();
Test01 test01 = new Test01();
Test02 test02 = new Test02();
Test03 test03 = new Test03();
test02.setName("tjk");
test02.setAge("100岁");
test03.setGread("100");
test03.setHigh("150cm");
test01.setTest02(test02);
test01.setTest03(test03);
list.add(test01);
FileHelper.exportExcel(list, "装备清单", "装备清单", Test01.class, fileName + ".xls", response);
}
}
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