认证-参数项收集-提交-添加配置列数组

This commit is contained in:
liyawei
2022-06-16 11:10:21 +08:00
parent ffb847327a
commit 664478dff8
@@ -305,6 +305,8 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
String stateName = collectManifestStateMap.get(collectManifestEO.getState());
collectManifestEO.setState(stateName);
List<String> configIdList = new ArrayList<>(); // 配置列名
Map<String, Object> manifestMap = objectToMap(collectManifestEO); // 对象转map
String controlType = collectManifestEO.getControlType();
String paramsCollectManifestId = collectManifestEO.getId();
@@ -318,6 +320,8 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
configMap.put("controlType", controlType);
configMap.put("list", paramsConfigDataVOList);
manifestMap.put(paramsConfigEO.getId(), configMap);
configIdList.add(paramsConfigEO.getId());
});
}
@@ -329,6 +333,9 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
sdtMap.put("dataValue", collectManifestEO.getSdt());
manifestMap.put("sdt", sdtMap);
// 配置列名数组
manifestMap.put("configIds", configIdList);
listMap.add(manifestMap);
});