Commit 47fefa8d authored by duanruiming's avatar duanruiming

[update] 辖区路口显示问题

parent 4ecc0c78
...@@ -476,7 +476,14 @@ public class SituationDetectionServiceImpl implements SituationDetectionService ...@@ -476,7 +476,14 @@ public class SituationDetectionServiceImpl implements SituationDetectionService
jurisdictionAreaVO.setId(String.valueOf(crossInfo.getId())); jurisdictionAreaVO.setId(String.valueOf(crossInfo.getId()));
jurisdictionAreaVO.setName(crossInfo.getName()); jurisdictionAreaVO.setName(crossInfo.getName());
jurisdictionAreaVO.setType("2"); jurisdictionAreaVO.setType("2");
jurisdictionAreaVO.setPoint(crossInfo.getLocation()); String location = null;
for (CrossInfoOutVo crossInfoOutVo : crossInfoOutVoList) {
if (StringUtils.equals(crossInfoOutVo.getId(), crossInfo.getId())) {
location = crossInfoOutVo.getLocation();
break;
}
}
jurisdictionAreaVO.setPoint(location);
jurisdictionAreaVO.setLevel(0); jurisdictionAreaVO.setLevel(0);
jurisdictionAreaVO.setParentCode("0"); jurisdictionAreaVO.setParentCode("0");
jurisdictionAreaVO.setChlidren(null); jurisdictionAreaVO.setChlidren(null);
......
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