|
|
@@ -7,6 +7,7 @@ import com.onemap.apply.mapper.jsc.TjscsqlMapper;
|
|
|
import com.onemap.apply.service.jsc.JscService;
|
|
|
import com.onemap.common.core.utils.StringUtils;
|
|
|
import com.onemap.common.core.web.domain.RequestResult;
|
|
|
+import org.apache.commons.collections4.CollectionUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
@@ -107,6 +108,15 @@ public class JscServiceImpl implements JscService {
|
|
|
}
|
|
|
queryMap.put("jsc_sql", jscSql);
|
|
|
List<LinkedHashMap<String, Object>> list = jscMapper.getBeanListByEntity(queryMap);
|
|
|
+ //这里进行遍历,获取点的高度 modify 1211
|
|
|
+ if (CollectionUtils.isNotEmpty(list) && jscType.trim().equalsIgnoreCase("t_zhd_sjlb")) {
|
|
|
+ for (LinkedHashMap<String, Object> map :list){
|
|
|
+ String lzb_x = String.valueOf(map.get("lzb_x"));
|
|
|
+ String bzb_y = String.valueOf(map.get("bzb_y"));
|
|
|
+ String hight = tjscsqlMapper.getHigh(lzb_x, bzb_y);
|
|
|
+ map.put("hight", hight);
|
|
|
+ }
|
|
|
+ }
|
|
|
return RequestResult.success(list);
|
|
|
}
|
|
|
|