Commit d757f991 authored by chenzhao's avatar chenzhao

修改bug 16741

parent dee24308
...@@ -184,10 +184,10 @@ public class JgChangeRegistrationUnitServiceImpl extends BaseService<JgChangeReg ...@@ -184,10 +184,10 @@ public class JgChangeRegistrationUnitServiceImpl extends BaseService<JgChangeReg
List<Map<String, Object>> equipmentInfos = JgChangeRegistrationUnitMapper.queryEquipInformation(sequenceNbr); List<Map<String, Object>> equipmentInfos = JgChangeRegistrationUnitMapper.queryEquipInformation(sequenceNbr);
for (String s : fields) { for (String s : fields) {
if (changeInfo.containsKey(s)) { if (changeInfo.containsKey(s) && !ObjectUtils.isEmpty(changeInfo.get(s))) {
changeInfo.put(s, JSON.parseArray(changeInfo.get(s).toString())); changeInfo.put(s, JSON.parseArray(changeInfo.get(s).toString()));
} }
if (equipmentInfos.get(0).containsKey(s)) { if (equipmentInfos.get(0).containsKey(s) && !ObjectUtils.isEmpty(equipmentInfos.get(0).get(s))) {
equipmentInfos.get(0).put(s, JSON.parseArray(equipmentInfos.get(0).get(s).toString())); equipmentInfos.get(0).put(s, JSON.parseArray(equipmentInfos.get(0).get(s).toString()));
} }
} }
......
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