地图数据处理接口增加对地图逻辑数据的处理
This commit is contained in:
parent
ad8e8963c6
commit
dce23dbff7
@ -216,12 +216,15 @@ public class PublishMapDataHandler {
|
||||
// 修改地图数据
|
||||
MapDataWithBLOBs mapData = getMapDataEntity(mapId);
|
||||
String graphData = mapData.getGraphData();
|
||||
String logicData = mapData.getLogicData();
|
||||
for (Map.Entry<String, String> entry : nameMap.entrySet()) {
|
||||
String k = entry.getKey();
|
||||
String v = entry.getValue();
|
||||
graphData = graphData.replace(k, v);
|
||||
logicData = logicData.replace(k, v);
|
||||
}
|
||||
mapData.setGraphData(graphData);
|
||||
mapData.setLogicData(logicData);
|
||||
mapDataDAO.updateByPrimaryKeyWithBLOBs(mapData);
|
||||
// 修改ISCS数据
|
||||
IscsExample iscsExample = new IscsExample();
|
||||
|
Loading…
Reference in New Issue
Block a user