Commit c73e9e77 authored by zhangsen's avatar zhangsen

安装告知详情查询bug

parent 6d1b730b
......@@ -195,10 +195,10 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
for (String s:fields) {
if(installationInfo.containsKey(s)) {
installationInfo.put(s, parseArray(installationInfo.get(s).toString()));
installationInfo.put(s, ObjectUtils.isEmpty(installationInfo.get(s)) ? new JSONArray() : parseArray(installationInfo.get(s).toString()));
}
if(equipmentInfos.get(0).containsKey(s)) {
equipmentInfos.get(0).put(s, parseArray(equipmentInfos.get(0).get(s).toString()));
equipmentInfos.get(0).put(s, ObjectUtils.isEmpty(installationInfo.get(s)) ? new JSONArray() : parseArray(equipmentInfos.get(0).get(s).toString()));
}
}
Map<String, Object> map = equipmentInfos.get(0);
......
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