Commit c14de0f5 authored by tianbo's avatar tianbo

refactor(amos-boot-module-statistics): 整机防爆标识转换为 JSON 数组

- 在 JGDPStatisticsServiceImpl 类中,将整机防爆标识字符串转换为 JSON 数组
parent f176b13e
...@@ -3220,6 +3220,10 @@ public class JGDPStatisticsServiceImpl { ...@@ -3220,6 +3220,10 @@ public class JGDPStatisticsServiceImpl {
liftingMap = convertCamelToUnderscore(lifting, null); liftingMap = convertCamelToUnderscore(lifting, null);
liftingMap.put("LIFTING_SEQ", lifting.getSequenceNbr()); liftingMap.put("LIFTING_SEQ", lifting.getSequenceNbr());
} }
// 整机防爆标识为附件,应改成json array
if (liftingMap.get("EXPLOSIONPROOF_SIGN_COMPLETE") != null) {
liftingMap.put("EXPLOSIONPROOF_SIGN_COMPLETE", JSONObject.parseArray((String) liftingMap.get("EXPLOSIONPROOF_SIGN_COMPLETE")));
}
if (!liftingMap.isEmpty()) { if (!liftingMap.isEmpty()) {
Map<String, Object> filterMap = liftingMap.entrySet() Map<String, Object> filterMap = liftingMap.entrySet()
.stream() .stream()
......
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