Commit e32392c0 authored by 韩桐桐's avatar 韩桐桐

feat(jg):压力管道添加参数解析

parent 5c01536e
...@@ -857,14 +857,13 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste ...@@ -857,14 +857,13 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
} else { } else {
pipelineMap = convertCamelToUnderscore(pipeline, null); pipelineMap = convertCamelToUnderscore(pipeline, null);
pipelineMap.put("PIPELINE_SEQ", pipeline.getSequenceNbr()); pipelineMap.put("PIPELINE_SEQ", pipeline.getSequenceNbr());
pipelineMap.put("STARTE_POSITION",JSONObject.parseObject(pipeline.getStartePosition()));
} }
if (!pipelineMap.isEmpty()) { Map<String, Object> filterMap = pipelineMap.entrySet()
Map<String, Object> filterMap = pipelineMap.entrySet() .stream()
.stream() .filter(e -> e.getValue() != null && e.getValue() != "")
.filter(e -> e.getValue() != null && e.getValue() != "" ) .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));
.collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue)); objMap.putAll(filterMap);
objMap.putAll(filterMap);
}
} }
// 主要零部件 // 主要零部件
List<Map<String, Object>> mainPartsMapsByRecord = this.getMainPartsMapsByRecord(record, fieldType); List<Map<String, Object>> mainPartsMapsByRecord = this.getMainPartsMapsByRecord(record, fieldType);
......
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