认证-参数项收集-提交-添加配置列数组
This commit is contained in:
+7
@@ -305,6 +305,8 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
|||||||
String stateName = collectManifestStateMap.get(collectManifestEO.getState());
|
String stateName = collectManifestStateMap.get(collectManifestEO.getState());
|
||||||
collectManifestEO.setState(stateName);
|
collectManifestEO.setState(stateName);
|
||||||
|
|
||||||
|
List<String> configIdList = new ArrayList<>(); // 配置列名
|
||||||
|
|
||||||
Map<String, Object> manifestMap = objectToMap(collectManifestEO); // 对象转map
|
Map<String, Object> manifestMap = objectToMap(collectManifestEO); // 对象转map
|
||||||
String controlType = collectManifestEO.getControlType();
|
String controlType = collectManifestEO.getControlType();
|
||||||
String paramsCollectManifestId = collectManifestEO.getId();
|
String paramsCollectManifestId = collectManifestEO.getId();
|
||||||
@@ -318,6 +320,8 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
|||||||
configMap.put("controlType", controlType);
|
configMap.put("controlType", controlType);
|
||||||
configMap.put("list", paramsConfigDataVOList);
|
configMap.put("list", paramsConfigDataVOList);
|
||||||
manifestMap.put(paramsConfigEO.getId(), configMap);
|
manifestMap.put(paramsConfigEO.getId(), configMap);
|
||||||
|
|
||||||
|
configIdList.add(paramsConfigEO.getId());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -329,6 +333,9 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
|||||||
sdtMap.put("dataValue", collectManifestEO.getSdt());
|
sdtMap.put("dataValue", collectManifestEO.getSdt());
|
||||||
manifestMap.put("sdt", sdtMap);
|
manifestMap.put("sdt", sdtMap);
|
||||||
|
|
||||||
|
// 配置列名数组
|
||||||
|
manifestMap.put("configIds", configIdList);
|
||||||
|
|
||||||
listMap.add(manifestMap);
|
listMap.add(manifestMap);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user