Commit ba43f75a authored by 332784038@qq.com's avatar 332784038@qq.com

单询异常的空值线路价格下载业务对货币单位、计量单位的转化处理bug修复

parent 6ecc3b1e
...@@ -282,7 +282,7 @@ public class ProductPriceExcelExportListener { ...@@ -282,7 +282,7 @@ public class ProductPriceExcelExportListener {
String unit = ""; String unit = "";
if (weightUnit != null) { if (weightUnit != null) {
UnitDO unitDO = unitMap.get(weightUnit.intValue()); UnitDO unitDO = unitMap.get(weightUnit.intValue());
unit = unitDO.getTitleZh(); unit = Objects.nonNull(unitDO) ? unitDO.getTitleZh() : "空";
} }
BigDecimal startNum = stepDO.getStartNum(); BigDecimal startNum = stepDO.getStartNum();
BigDecimal endNum = stepDO.getEndNum(); BigDecimal endNum = stepDO.getEndNum();
......
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