|
@@ -61,11 +61,11 @@ public class TestFacade {
|
|
|
*
|
|
|
*/
|
|
|
public static void exportExcel(HttpServletResponse response) {
|
|
|
- List<Lis> lisList = new ArrayList<>();
|
|
|
- Lis lis1 = new Lis();
|
|
|
- lis1.setName("血常规");
|
|
|
- lisList.add(lis1);
|
|
|
- ExcelUtils.exportExcel(lisList, null, "sheet1", TestExport.class, "名称.xls", response, 12.8f);
|
|
|
+ List<TestExport> testExportList = new ArrayList<>();
|
|
|
+ TestExport testExport = new TestExport();
|
|
|
+ testExport.setName("名称1");
|
|
|
+ testExportList.add(testExport);
|
|
|
+ ExcelUtils.exportExcel(testExportList, null, "sheet1", TestExport.class, "名称.xls", response, 12.8f);
|
|
|
// ExcelUtils.exportExcel(lisList, "化验导出名称", "导出", TestExport.class, "名称", response);
|
|
|
}
|
|
|
|