This commit is contained in:
linfso 2024-08-04 14:07:47 +08:00
parent d468fc73f9
commit 87af19e2ed

View File

@ -837,7 +837,6 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
*/ */
private String getCountryCodeByName(String name){ private String getCountryCodeByName(String name){
EmisCountry country=getCountryByName(name); EmisCountry country=getCountryByName(name);
if(country!=null){ if(country!=null){
return country.getCode(); return country.getCode();
@ -2836,10 +2835,12 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
} }
} }
if(feeItem.getFee().compareTo(BigDecimal.ZERO)!=0) { if(feeItem!=null) {
// 记录类型,用于判断是否重复 if (feeItem.getFee().compareTo(BigDecimal.ZERO) != 0) {
feeTypeMap.put(feeItem.getFeeCode(),1); // 记录类型,用于判断是否重复
feeList.add(feeItem); feeTypeMap.put(feeItem.getFeeCode(), 1);
feeList.add(feeItem);
}
} }
} }