diff --git a/src/main/java/com/xujie/sys/modules/ecss/service/impl/CoDelExcelTXServiceImpl.java b/src/main/java/com/xujie/sys/modules/ecss/service/impl/CoDelExcelTXServiceImpl.java index 6b57a0e2..4ccb69cb 100644 --- a/src/main/java/com/xujie/sys/modules/ecss/service/impl/CoDelExcelTXServiceImpl.java +++ b/src/main/java/com/xujie/sys/modules/ecss/service/impl/CoDelExcelTXServiceImpl.java @@ -1789,15 +1789,6 @@ public class CoDelExcelTXServiceImpl implements CoDelExcelTXService { templateAdapter.clearAll(); extractedContract(data, templateAdapter); template.render(4); - // 出货通知 - templateAdapter.clearAll(); - extractedShippingNotice(templateAdapter, notifyHeader); - template.render(5); - } else { - // 出货通知 - templateAdapter.clearAll(); - extractedShippingNotice(templateAdapter, notifyHeader); - template.render(4); } } else { String xlsx = "templates/ALPHA/declaration-all-template-pdf.xlsx"; @@ -2076,11 +2067,11 @@ public class CoDelExcelTXServiceImpl implements CoDelExcelTXService { List skuList = hsCodeSkuListMap.get(key); String formattedSku = formatSkuList(skuList); fMap.put("sku", formattedSku); - fMap.put("content", "HS Code: "+fMap.get("hsCode")+ - "\n品名: "+(data.getHsCodeDescType()!=null&& data.getHsCodeDescType().equals("N")?fMap.get("hsCodeDescEn"):fMap.get("hsCodeDesc"))+ + fMap.put("content", "HS Code: "+fMap.get("hsCode")+ + "\n品 名: "+(data.getHsCodeDescType()!=null&& data.getHsCodeDescType().equals("N")?fMap.get("hsCodeDescEn"):fMap.get("hsCodeDesc"))+ "\n"+fMap.get("properties")+ - (fMap.get("brand")!=null&&StringUtils.isNotEmpty((String) fMap.get("brand"))?"\n品牌: "+fMap.get("brand"):"")+ - "\n型号: "+formattedSku); + (fMap.get("brand")!=null&&StringUtils.isNotEmpty((String) fMap.get("brand"))?"\n品 牌: "+fMap.get("brand"):"")+ + "\n型 号: "+formattedSku); } template.addListVarAll(list); } @@ -2102,7 +2093,7 @@ public class CoDelExcelTXServiceImpl implements CoDelExcelTXService { // 每3个换行 if (i % 3 == 0) { // 换行后添加17个空格 - result.append("\n "); + result.append("\n "); } else { // 否则用逗号分隔 result.append(","); diff --git a/src/main/resources/templates/ALPHA/declaration-all-template-pdf.xlsx b/src/main/resources/templates/ALPHA/declaration-all-template-pdf.xlsx index cfbb9cc1..7b4b8f64 100644 Binary files a/src/main/resources/templates/ALPHA/declaration-all-template-pdf.xlsx and b/src/main/resources/templates/ALPHA/declaration-all-template-pdf.xlsx differ diff --git a/src/main/resources/templates/YB/declaration-all-template-invoice-pdf.xlsx b/src/main/resources/templates/YB/declaration-all-template-invoice-pdf.xlsx index 6b8c5074..4e88ff5a 100644 Binary files a/src/main/resources/templates/YB/declaration-all-template-invoice-pdf.xlsx and b/src/main/resources/templates/YB/declaration-all-template-invoice-pdf.xlsx differ diff --git a/src/main/resources/templates/YB/declaration-all-template-pdf.xlsx b/src/main/resources/templates/YB/declaration-all-template-pdf.xlsx index a35d99ef..5ebd4601 100644 Binary files a/src/main/resources/templates/YB/declaration-all-template-pdf.xlsx and b/src/main/resources/templates/YB/declaration-all-template-pdf.xlsx differ diff --git a/src/main/resources/templates/YB/declaration-all-template.xlsx b/src/main/resources/templates/YB/declaration-all-template.xlsx index e44c2ed1..472405a1 100644 Binary files a/src/main/resources/templates/YB/declaration-all-template.xlsx and b/src/main/resources/templates/YB/declaration-all-template.xlsx differ