|
|
@@ -2,16 +2,15 @@ package com.siwei.apply.controller.cadastre;
|
|
|
|
|
|
import com.siwei.apply.domain.cadastre.LandStorageInOutReportDTO;
|
|
|
import com.siwei.apply.domain.cadastre.LandStorageReportDTO;
|
|
|
-import com.siwei.apply.domain.cadastre.LandSupplyReportDTO;
|
|
|
import com.siwei.apply.domain.res.StorageYearStatisticsRes;
|
|
|
import com.siwei.apply.domain.res.TrendStatisticsData;
|
|
|
import com.siwei.apply.domain.res.TrendStatisticsRes;
|
|
|
import com.siwei.apply.domain.res.TrendUseStatisticsData;
|
|
|
import com.siwei.apply.domain.vo.LandSupplyProjectVO;
|
|
|
-import com.siwei.apply.domain.vo.LandSupplyReportVO;
|
|
|
import com.siwei.apply.service.cadastre.impl.StorageServiceImpl;
|
|
|
import com.siwei.common.core.domain.R;
|
|
|
import com.siwei.common.core.web.controller.BaseController;
|
|
|
+import com.siwei.common.core.web.page.TableDataInfo;
|
|
|
import org.apache.commons.collections4.CollectionUtils;
|
|
|
import org.apache.poi.ss.usermodel.*;
|
|
|
import org.apache.poi.ss.util.CellRangeAddress;
|
|
|
@@ -23,7 +22,6 @@ import javax.servlet.http.HttpServletResponse;
|
|
|
import java.net.URLEncoder;
|
|
|
import java.nio.charset.StandardCharsets;
|
|
|
import java.util.HashMap;
|
|
|
-import java.util.LinkedHashMap;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
|
@@ -615,6 +613,23 @@ public class StorageController extends BaseController {
|
|
|
}
|
|
|
|
|
|
|
|
|
+ @GetMapping("/schedule/list")
|
|
|
+ public R<?> scheduleList(
|
|
|
+ @RequestParam(value = "sourceType") String sourceType,
|
|
|
+ @RequestParam(value = "pageNum", required = false) Integer pageNum,
|
|
|
+ @RequestParam(value = "pageSize", required = false) Integer pageSize) {
|
|
|
+ try {
|
|
|
+ startPage();
|
|
|
+ List<Map<String, Object>> resList = storageServiceImpl.actualList("gj_shouchu_xiangmu",sourceType);
|
|
|
+ return R.ok(getDataTable(resList));
|
|
|
+ } catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ return R.fail(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
*
|
|
|
* 收储文件上传入库
|
|
|
@@ -632,7 +647,19 @@ public class StorageController extends BaseController {
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
+ @GetMapping("/actual/list")
|
|
|
+ public R<?> actualList(
|
|
|
+ @RequestParam(value = "pageNum", required = false) Integer pageNum,
|
|
|
+ @RequestParam(value = "pageSize", required = false) Integer pageSize) {
|
|
|
+ try {
|
|
|
+ startPage();
|
|
|
+ List<Map<String, Object>> resList = storageServiceImpl.actualList("gj_shouchu_xiangmu_shiji","");
|
|
|
+ return R.ok(getDataTable(resList));
|
|
|
+ } catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ return R.fail(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|