|
@@ -718,6 +718,7 @@ public class SyShippingOrderController extends JeecgController<SyShippingOrder,
|
|
|
|
|
|
|
|
|
if (testName.equals("-结汇发票")) {
|
|
|
+ StringBuffer sbu = new StringBuffer();
|
|
|
|
|
|
List<Map<String, Object>> taitouList = new ArrayList<>();
|
|
|
//获取对应模板
|
|
@@ -729,12 +730,16 @@ public class SyShippingOrderController extends JeecgController<SyShippingOrder,
|
|
|
for (DictModel te : test) {
|
|
|
if (list.get(0).getPkOrg().equals(te.getText())) {
|
|
|
String split[] = test.get(0).getValue().split("\\+");
|
|
|
- for (int i = 1; i < 5 ; i++) {
|
|
|
- Map<String, Object> maiTou = new HashMap<>();
|
|
|
- maiTou.put("name", split[i]);
|
|
|
- taitouList.add(maiTou);
|
|
|
- }
|
|
|
+// for (int i = 1; i < 5 ; i++) {
|
|
|
+// Map<String, Object> maiTou = new HashMap<>();
|
|
|
+// maiTou.put("name", split[i]);
|
|
|
+//
|
|
|
+// //taitouList.add(maiTou);
|
|
|
+// }
|
|
|
entity.setClientAbbreviation(split[1]);
|
|
|
+ entity.setCorporationAddress(split[2]);
|
|
|
+ entity.setCorporationTel(split[3]);
|
|
|
+ entity.setFax(split[4]);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -756,7 +761,7 @@ public class SyShippingOrderController extends JeecgController<SyShippingOrder,
|
|
|
listMap.add(mapList);
|
|
|
}
|
|
|
map.put("item", listMap);
|
|
|
- map.put("list", taitouList);
|
|
|
+ //map.put("list", taitouList);
|
|
|
|
|
|
Workbook workbook = ExcelExportUtil.exportExcel(params, map);
|
|
|
response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
|