|
@@ -607,17 +607,13 @@ public class SyShippingOrderController extends JeecgController<SyShippingOrder,
|
|
|
map.put("item", listMap);
|
|
|
|
|
|
Workbook workbook = ExcelExportUtil.exportExcel(params,map);
|
|
|
-// File savefile = new File("C:\\Users\\Mr_zeng\\Desktop\\");
|
|
|
-// if (!savefile.exists()) {
|
|
|
-// savefile.mkdirs();
|
|
|
-// }
|
|
|
+
|
|
|
ServletOutputStream outputStream = response.getOutputStream();
|
|
|
|
|
|
-// FileOutputStream fos = new FileOutputStream(outputStream);
|
|
|
workbook.write(outputStream);
|
|
|
-// fos.close();
|
|
|
|
|
|
- }else if(testName.equals("报关信息-申报要素-成衣")){
|
|
|
+ }
|
|
|
+ else if(testName.equals("报关信息-申报要素-成衣")){
|
|
|
//传出的Map
|
|
|
Map<String, Object> map = new HashMap<String, Object>();
|
|
|
|
|
@@ -670,7 +666,8 @@ public class SyShippingOrderController extends JeecgController<SyShippingOrder,
|
|
|
// workbook.write(fos);
|
|
|
// fos.close();
|
|
|
|
|
|
- }if(testName.equals("报关信息-发票")){
|
|
|
+ }
|
|
|
+ else if(testName.equals("报关信息-发票")){
|
|
|
|
|
|
Map<String, Object> map = new HashMap<String, Object>();
|
|
|
|
|
@@ -746,15 +743,13 @@ public class SyShippingOrderController extends JeecgController<SyShippingOrder,
|
|
|
map.put("item", listMap);
|
|
|
|
|
|
Workbook workbook = ExcelExportUtil.exportExcel(params,map);
|
|
|
-// File savefile = new File("C:\\Users\\Mr_zeng\\Desktop\\");
|
|
|
-// if (!savefile.exists()) {
|
|
|
-// savefile.mkdirs();
|
|
|
-// }
|
|
|
ServletOutputStream outputStream = response.getOutputStream();
|
|
|
-
|
|
|
-// FileOutputStream fos = new FileOutputStream(outputStream);
|
|
|
workbook.write(outputStream);
|
|
|
-// fos.close();
|
|
|
+
|
|
|
+
|
|
|
+ }else if(testName.equals("报关信息-合同")){
|
|
|
+
|
|
|
+
|
|
|
|
|
|
}
|
|
|
|