|
@@ -213,6 +213,13 @@ public class FzssServiceImpl implements IFzssService {
|
|
|
} else {
|
|
|
// 不允许多地块,删除面积不符合要求的地块
|
|
|
tableDateService.delByArea(rawTable, fzxzDTO.getYdmjbegin(), fzxzDTO.getYdmjend());
|
|
|
+
|
|
|
+ integer = tableDateService.getTableCount(rawTable);
|
|
|
+ if (integer == 0) {
|
|
|
+ iLogService.saveLog(taskId, "辅助选址", "计算完成,未找到符合用地性质条件数据", "info");
|
|
|
+ updateFzxzStatus(taskId, Rwzt.getNoRes());
|
|
|
+ return RequestResult.error("区域筛选条件筛选未找到符合条件数据!", null);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
// 6.保存规划结果
|
|
@@ -273,6 +280,10 @@ public class FzssServiceImpl implements IFzssService {
|
|
|
// TODO 重构
|
|
|
private String factorClip(String taskId, String rawTable, List<FactorUseDTO> factorUseDTOS, String ewkt) {
|
|
|
for (FactorUseDTO factorUseDTO : factorUseDTOS) {
|
|
|
+ if (factorUseDTO.getFactorName().equals("燃气")) {
|
|
|
+ System.out.println("燃气");
|
|
|
+ }
|
|
|
+
|
|
|
FactorSpatialVo factorSpatialVo = factorUseDTO.getConditionInfoObj();
|
|
|
if (factorSpatialVo.equals("intersect")) {
|
|
|
// 1.先切割因子地块
|