Commit 4611cced authored by lanbaoming's avatar lanbaoming

2024-05-07根据币种是否为空来判断逻辑

parent 6e464788
......@@ -444,8 +444,11 @@ public class MakeBillOfLadingServiceImpl extends AbstractService<MakeBillOfLadin
// }
paramMap.put("seaFreight", item.getOneSeaFreight() + currencyMap.get(item.getSeaFreightCurrency()) + "/m³");
if (item.getOneClearanceFreight().compareTo(BigDecimal.ZERO) == 0) {
if (item.getClearanceFreightCurrency() == null) {
//lanbm 2024-05-07 确认此处逻辑
if (item.getClearanceFreightCurrency() == null ||
item.getClearanceFreightCurrency() == 0 ||
currencyMap.get(item.getClearanceFreightCurrency()) == null) {
//lanbm 2024-05-07 调整逻辑判断,是币种字段为空则显示0
//item.getClearanceFreightCurrency() 币种项在数据字典中不存在
paramMap.put("clearanceFreight", "0");
} else {
paramMap.put("clearanceFreight",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment