|
|
|
@ -1093,6 +1093,8 @@ public class CoDelExcelTXServiceImpl implements CoDelExcelTXService { |
|
|
|
|
|
|
|
void setInvoiceLie(boolean invoiceLie); |
|
|
|
|
|
|
|
void setFixedInvoicePriceScale(boolean fixedInvoicePriceScale); |
|
|
|
|
|
|
|
void addVar(String key, Object value); |
|
|
|
|
|
|
|
void addListVarAll(Collection rows); |
|
|
|
@ -1147,6 +1149,11 @@ public class CoDelExcelTXServiceImpl implements CoDelExcelTXService { |
|
|
|
delegate.setInvoiceLie(invoiceLie); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public void setFixedInvoicePriceScale(boolean fixedInvoicePriceScale) { |
|
|
|
delegate.setFixedInvoicePriceScale(fixedInvoicePriceScale); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public void addVar(String key, Object value) { |
|
|
|
delegate.addVar(key, value); |
|
|
|
@ -1210,6 +1217,11 @@ public class CoDelExcelTXServiceImpl implements CoDelExcelTXService { |
|
|
|
delegate.setInvoiceLie(invoiceLie); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public void setFixedInvoicePriceScale(boolean fixedInvoicePriceScale) { |
|
|
|
delegate.setFixedInvoicePriceScale(fixedInvoicePriceScale); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public void addVar(String key, Object value) { |
|
|
|
delegate.addVar(key, value); |
|
|
|
@ -1273,6 +1285,11 @@ public class CoDelExcelTXServiceImpl implements CoDelExcelTXService { |
|
|
|
delegate.setInvoiceLie(invoiceLie); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public void setFixedInvoicePriceScale(boolean fixedInvoicePriceScale) { |
|
|
|
delegate.setFixedInvoicePriceScale(fixedInvoicePriceScale); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public void addVar(String key, Object value) { |
|
|
|
delegate.addVar(key, value); |
|
|
|
@ -1840,7 +1857,7 @@ public class CoDelExcelTXServiceImpl implements CoDelExcelTXService { |
|
|
|
ecHeader.getPriceInfluenceConfirm().equals("Y") ? "是" : "否"); |
|
|
|
template.addVar("royaltyPaymentsConfirm", StringUtils.isEmpty(ecHeader.getRoyaltyPaymentsConfirm()) ? "" : |
|
|
|
ecHeader.getRoyaltyPaymentsConfirm().equals("Y") ? "是" : "否"); |
|
|
|
template.addVar("remark", stringInput(ecHeader.getRemark())); |
|
|
|
template.addVar("remark", stringInput(ecHeader.getRemark())+data.getVoyage()); |
|
|
|
|
|
|
|
List<Map> detailList = coDelMapper.exportDeclarationDetailTX(data); |
|
|
|
for (int i = 0; i < detailList.size(); i++) { |
|
|
|
@ -2064,6 +2081,8 @@ public class CoDelExcelTXServiceImpl implements CoDelExcelTXService { |
|
|
|
template.setPriceRight(true); |
|
|
|
template.setMoveSeal(true); |
|
|
|
template.setInvoiceLie(data.getShowWeight() != null && data.getShowWeight()); |
|
|
|
String invoiceBuNo = notifyHeader == null ? "" : notifyHeader.getBuNo(); |
|
|
|
template.setFixedInvoicePriceScale("02-Hardtag".equalsIgnoreCase(invoiceBuNo) || "05-Alpha".equalsIgnoreCase(invoiceBuNo)); |
|
|
|
template.addVar("remark", stringInput(data.getFpremark())); |
|
|
|
template.addVar("localShipper", notifyHeader.getCustomerName()); |
|
|
|
template.addVar("localShipAddress", notifyHeader.getLocalShipAddress()); |
|
|
|
@ -3061,6 +3080,7 @@ public class CoDelExcelTXServiceImpl implements CoDelExcelTXService { |
|
|
|
template.addVar("contacts", ecssContacts.get(0).get("name")+(ecssContacts.size()>1?"/"+ecssContacts.get(1).get("name"):"")); |
|
|
|
} |
|
|
|
template.addVar("voyage", resolveExportGoodsVoyage(data, notifyHeader, nodifyDetailList));//唛头 |
|
|
|
template.addVar("poNos", formatPoNoForHwDesc(poNoSet)); |
|
|
|
} |
|
|
|
|
|
|
|
private String getContactField(List<Map> contacts, String field) { |
|
|
|
|