|
@@ -8,6 +8,7 @@ import com.siwei.apply.mapper.NodeLandMapper;
|
|
|
import com.siwei.apply.mapper.ProjectMapper;
|
|
import com.siwei.apply.mapper.ProjectMapper;
|
|
|
import com.siwei.apply.mapper.ProjectWorkflowMapper;
|
|
import com.siwei.apply.mapper.ProjectWorkflowMapper;
|
|
|
import com.siwei.apply.service.NodeLandService;
|
|
import com.siwei.apply.service.NodeLandService;
|
|
|
|
|
+import com.siwei.common.core.utils.StringUtils;
|
|
|
import org.apache.commons.collections4.CollectionUtils;
|
|
import org.apache.commons.collections4.CollectionUtils;
|
|
|
import org.slf4j.Logger;
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
import org.slf4j.LoggerFactory;
|
|
@@ -91,6 +92,14 @@ public class NodeLandImpl implements NodeLandService {
|
|
|
// 添加shppath - SHP文件路径
|
|
// 添加shppath - SHP文件路径
|
|
|
response.put("shppath", result.get("shppath"));
|
|
response.put("shppath", result.get("shppath"));
|
|
|
|
|
|
|
|
|
|
+ // 处理geomIds - 转换为字符串数组
|
|
|
|
|
+ String geomIdsStr = result.get("geomIds");
|
|
|
|
|
+ if (StringUtils.isNotBlank(geomIdsStr)) {
|
|
|
|
|
+ response.put("geomIds", Arrays.asList(geomIdsStr.split("\\|")));
|
|
|
|
|
+ } else {
|
|
|
|
|
+ response.put("geomIds", new ArrayList<>());
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
// 处理geoms - 转换为字符串数组
|
|
// 处理geoms - 转换为字符串数组
|
|
|
String geomsStr = result.get("geoms");
|
|
String geomsStr = result.get("geoms");
|
|
|
if (geomsStr != null && !geomsStr.trim().isEmpty()) {
|
|
if (geomsStr != null && !geomsStr.trim().isEmpty()) {
|