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,11 +2835,13 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
} }
} }
if(feeItem!=null) {
if (feeItem.getFee().compareTo(BigDecimal.ZERO) != 0) { if (feeItem.getFee().compareTo(BigDecimal.ZERO) != 0) {
// 记录类型,用于判断是否重复 // 记录类型,用于判断是否重复
feeTypeMap.put(feeItem.getFeeCode(), 1); feeTypeMap.put(feeItem.getFeeCode(), 1);
feeList.add(feeItem); feeList.add(feeItem);
} }
}
} }