|
@@ -573,7 +573,7 @@ public class SyShippingOrderController extends JeecgController<SyShippingOrder,
|
|
|
@AutoLog(value = "发票打印")
|
|
|
@ApiOperation(value = "发票打印")
|
|
|
@RequestMapping(value = "/syShippingOrderPrint")
|
|
|
- public Result<SyShippingOrder> syShippingOrderPrint(String id,String testName,String isAhaa,HttpServletResponse response) throws ParseException {
|
|
|
+ public void syShippingOrderPrint(String id,String testName,String isAhaa,HttpServletResponse response) throws ParseException {
|
|
|
|
|
|
Result<SyShippingOrder> result= new Result<SyShippingOrder>();
|
|
|
String readyFabric = "";
|
|
@@ -721,7 +721,8 @@ public class SyShippingOrderController extends JeecgController<SyShippingOrder,
|
|
|
map.put("item", listMap);
|
|
|
|
|
|
Workbook workbook = ExcelExportUtil.exportExcel(params, map);
|
|
|
-
|
|
|
+ response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
|
|
|
+ response.setCharacterEncoding("utf-8");
|
|
|
ServletOutputStream outputStream = response.getOutputStream();
|
|
|
|
|
|
workbook.write(outputStream);
|
|
@@ -823,6 +824,8 @@ public class SyShippingOrderController extends JeecgController<SyShippingOrder,
|
|
|
map.put("list", listMap);
|
|
|
|
|
|
Workbook workbook = ExcelExportUtil.exportExcel(params, map);
|
|
|
+ response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
|
|
|
+ response.setCharacterEncoding("utf-8");
|
|
|
ServletOutputStream outputStream = response.getOutputStream();
|
|
|
workbook.write(outputStream);
|
|
|
|
|
@@ -896,6 +899,8 @@ public class SyShippingOrderController extends JeecgController<SyShippingOrder,
|
|
|
map.put("list", maiTouList);
|
|
|
|
|
|
Workbook workbook = ExcelExportUtil.exportExcel(params, map);
|
|
|
+ response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
|
|
|
+ response.setCharacterEncoding("utf-8");
|
|
|
ServletOutputStream outputStream = response.getOutputStream();
|
|
|
workbook.write(outputStream);
|
|
|
|
|
@@ -951,6 +956,8 @@ public class SyShippingOrderController extends JeecgController<SyShippingOrder,
|
|
|
map.put("item", listMap);
|
|
|
|
|
|
Workbook workbook = ExcelExportUtil.exportExcel(params, map);
|
|
|
+ response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
|
|
|
+ response.setCharacterEncoding("utf-8");
|
|
|
ServletOutputStream outputStream = response.getOutputStream();
|
|
|
workbook.write(outputStream);
|
|
|
|
|
@@ -1011,6 +1018,8 @@ public class SyShippingOrderController extends JeecgController<SyShippingOrder,
|
|
|
map.put("list", maiTouList);
|
|
|
|
|
|
Workbook workbook = ExcelExportUtil.exportExcel(params, map);
|
|
|
+ response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
|
|
|
+ response.setCharacterEncoding("utf-8");
|
|
|
ServletOutputStream outputStream = response.getOutputStream();
|
|
|
workbook.write(outputStream);
|
|
|
|
|
@@ -1081,6 +1090,8 @@ public class SyShippingOrderController extends JeecgController<SyShippingOrder,
|
|
|
|
|
|
|
|
|
Workbook workbook = ExcelExportUtil.exportExcel(params, map);
|
|
|
+ response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
|
|
|
+ response.setCharacterEncoding("utf-8");
|
|
|
ServletOutputStream outputStream = response.getOutputStream();
|
|
|
workbook.write(outputStream);
|
|
|
}
|
|
@@ -1112,7 +1123,8 @@ public class SyShippingOrderController extends JeecgController<SyShippingOrder,
|
|
|
map.put("item", listMap);
|
|
|
|
|
|
Workbook workbook = ExcelExportUtil.exportExcel(params, map);
|
|
|
-
|
|
|
+ response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
|
|
|
+ response.setCharacterEncoding("utf-8");
|
|
|
ServletOutputStream outputStream = response.getOutputStream();
|
|
|
|
|
|
workbook.write(outputStream);
|
|
@@ -1174,6 +1186,8 @@ public class SyShippingOrderController extends JeecgController<SyShippingOrder,
|
|
|
map.put("list", maiTouList);
|
|
|
|
|
|
Workbook workbook = ExcelExportUtil.exportExcel(params, map);
|
|
|
+ response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
|
|
|
+ response.setCharacterEncoding("utf-8");
|
|
|
ServletOutputStream outputStream = response.getOutputStream();
|
|
|
workbook.write(outputStream);
|
|
|
|
|
@@ -1267,6 +1281,8 @@ public class SyShippingOrderController extends JeecgController<SyShippingOrder,
|
|
|
map.put("list", maiTouList);
|
|
|
|
|
|
Workbook workbook = ExcelExportUtil.exportExcel(params, map);
|
|
|
+ response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
|
|
|
+ response.setCharacterEncoding("utf-8");
|
|
|
ServletOutputStream outputStream = response.getOutputStream();
|
|
|
workbook.write(outputStream);
|
|
|
|
|
@@ -1314,6 +1330,8 @@ public class SyShippingOrderController extends JeecgController<SyShippingOrder,
|
|
|
map.put("list", mergeMap);
|
|
|
|
|
|
Workbook workbook = ExcelExportUtil.exportExcel(params, map);
|
|
|
+ response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
|
|
|
+ response.setCharacterEncoding("utf-8");
|
|
|
ServletOutputStream outputStream = response.getOutputStream();
|
|
|
workbook.write(outputStream);
|
|
|
|
|
@@ -1333,7 +1351,7 @@ public class SyShippingOrderController extends JeecgController<SyShippingOrder,
|
|
|
|
|
|
}
|
|
|
|
|
|
- return result;
|
|
|
+ //return result;
|
|
|
}
|
|
|
|
|
|
|