地图上重点工程图层
parent
66ed85388f
commit
a512986859
|
@ -64,23 +64,14 @@ public class MapKeyProjectServiceImpl implements MapKetProjectService {
|
|||
Map<String,Object> returnMap = new HashMap<>();
|
||||
String errInfo = "success";
|
||||
//根据条件增加参数或减少参数 都没有 直接返回空
|
||||
if (StringUtils.isBlank(pd.getString("CORPINFO_ID"))) {
|
||||
List<String> ArrayDATA_IDS = mapEightService.getCorpinfoIds(pd);
|
||||
if (ArrayDATA_IDS.size() == 0) {
|
||||
returnMap.put("result", errInfo);
|
||||
return returnMap;
|
||||
}
|
||||
ArrayDATA_IDS.add("1");
|
||||
pd.put("ids", ArrayDATA_IDS);
|
||||
pd.remove("CORPINFO_ID");
|
||||
}
|
||||
pd.getString("CORPINFO_ID",Jurisdiction.getCORPINFO_ID());
|
||||
String typeStr = pd.getString("TYPE");
|
||||
List<PageData> r = new ArrayList<>();
|
||||
//重点工程
|
||||
if(StringUtils.equals(typeStr,"PROJECT")){
|
||||
r = keyProjectMapper.getProjectLocation(pd);
|
||||
//视频
|
||||
}else if(StringUtils.equals(typeStr,"VIDEO")){
|
||||
}else if(StringUtils.equals(typeStr,"camera")){
|
||||
r = keyProjectMapper.getVideoLocation(pd);
|
||||
}
|
||||
returnMap.put("varList", r);
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
|
||||
<select id="getVideoLocation" parameterType="pd" resultType="pd">
|
||||
SELECT
|
||||
'VIDEO' TYPE,
|
||||
'camera' TYPE,
|
||||
v.VIDEOMANAGER_ID id,
|
||||
v.LONGITUDE,
|
||||
v.LATITUDE,
|
||||
|
|
Loading…
Reference in New Issue