|
@@ -25,6 +25,7 @@ import com.onemap.common.core.utils.StringUtils;
|
|
|
import com.onemap.common.core.web.domain.RequestResult;
|
|
|
import com.onemap.system.api.ApplyService;
|
|
|
import com.onemap.system.api.SpatialService;
|
|
|
+import com.onemap.system.api.domain.PolygonDataVo;
|
|
|
import com.onemap.system.api.domain.WktsVo;
|
|
|
import org.apache.commons.io.FileUtils;
|
|
|
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
|
|
@@ -69,8 +70,8 @@ public class ReportServiceImpl implements IReportService {
|
|
|
@Resource
|
|
|
SpatialService spatialService;
|
|
|
|
|
|
- // @Resource
|
|
|
- // ApplyService applyService;
|
|
|
+ @Resource
|
|
|
+ ApplyService applyService;
|
|
|
|
|
|
@Resource
|
|
|
CreateUtilsDBService createUtilsDBService;
|
|
@@ -244,6 +245,8 @@ public class ReportServiceImpl implements IReportService {
|
|
|
NpoiHelper.content(document, "\t按照项目选址要求和影响因子,经对所选范围内的所有用地进行分析,筛选出符合要求的方案共" + fzxzJgGisDTOList.size() + "个。", pos++);
|
|
|
}
|
|
|
|
|
|
+ // 获取规划信息
|
|
|
+ List<TableSortRes> tableSortRes = getCascadeList();
|
|
|
for (int i = 0; i < fzxzJgGisDTOList.size(); i++) {
|
|
|
if (i != 0) {
|
|
|
// 添加分页
|
|
@@ -628,20 +631,19 @@ public class ReportServiceImpl implements IReportService {
|
|
|
return ewktRes;
|
|
|
}
|
|
|
|
|
|
- // /**
|
|
|
- // * 获取级联列表
|
|
|
- // */
|
|
|
- // private void GetCascadeList() {
|
|
|
- // RequestResult requestResult = applyService.GetCascadeList("");
|
|
|
- // List<TableSortRes> tableSortResList = (List<TableSortRes>) requestResult.get("data");
|
|
|
- // }
|
|
|
-
|
|
|
- // /**
|
|
|
- // * 获取表格数据
|
|
|
- // */
|
|
|
- // private void getTableData() {
|
|
|
- //
|
|
|
- // String sourceDataId, String sourcePolygonWkt, String sourceLayerId, String sourceLayerType, String queryTableId
|
|
|
- // applyService.queryTableListByPolygon()
|
|
|
- // }
|
|
|
+ /**
|
|
|
+ * 获取级联列表
|
|
|
+ */
|
|
|
+ private List<TableSortRes> getCascadeList() {
|
|
|
+ RequestResult requestResult = applyService.GetCascadeList("");
|
|
|
+ List<TableSortRes> tableSortResList = (List<TableSortRes>) requestResult.get("data");
|
|
|
+ return tableSortResList;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获取表格数据
|
|
|
+ */
|
|
|
+ private void getTableData(PolygonDataVo polygonDataVo) {
|
|
|
+ applyService.queryTableListByPolygon(polygonDataVo);
|
|
|
+ }
|
|
|
}
|