Commit 1b2dc1a4 authored by chenzhao's avatar chenzhao

登记表生成代码优化 历史数据空指针处理

parent 65670831
...@@ -2362,7 +2362,7 @@ public class CommonServiceImpl implements ICommonService { ...@@ -2362,7 +2362,7 @@ public class CommonServiceImpl implements ICommonService {
}else { }else {
wordPath = "use-registration-form-vehicle.ftl"; wordPath = "use-registration-form-vehicle.ftl";
fileName = "车用气瓶使用登记表_"; fileName = "车用气瓶使用登记表_";
formData.put("equipBasicInfoList",formData.get("equipmentLists")); formData.put("equipBasicInfoList",formData.containsKey("equipmentLists")?formData.get("equipmentLists"):new JSONArray());
} }
// word转pdf // word转pdf
File pdfFile = null; File pdfFile = null;
......
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