|
|
@@ -2,6 +2,7 @@ package com.siwei.apply.controller.cadastre;
|
|
|
|
|
|
import com.siwei.apply.domain.FzssFxrwrz;
|
|
|
import com.siwei.apply.domain.LayerAndDbData;
|
|
|
+import com.siwei.apply.domain.MdbAndDbData;
|
|
|
import com.siwei.apply.domain.vo.CadastreFileFilterVo;
|
|
|
import com.siwei.apply.domain.vo.CheckInfoResultVo;
|
|
|
import com.siwei.apply.domain.vo.CompareResultVo;
|
|
|
@@ -84,6 +85,18 @@ public class CadastreManageController extends BaseController {
|
|
|
}
|
|
|
|
|
|
|
|
|
+ @PostMapping("/addBatchMdbData")
|
|
|
+ public R<String> addBatchMdbData(String uploadId) {
|
|
|
+ try {
|
|
|
+ String res = cadastreManageService.addBatchMdbData(uploadId);
|
|
|
+ return R.ok(res);
|
|
|
+ } catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ return R.fail(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* 获取列表
|
|
|
*
|
|
|
@@ -186,10 +199,21 @@ public class CadastreManageController extends BaseController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+ /**
|
|
|
+ * 获取表格数据进行对比
|
|
|
+ * @param uploadId
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @PostMapping("/getMdbPropertyData")
|
|
|
+ public R<List<LayerAndDbData>> mdbPropertyData(String uploadId) {
|
|
|
+ try {
|
|
|
+ List<LayerAndDbData> res = cadastreManageService.getMdbPropertyData(uploadId);
|
|
|
+ return R.ok(res);
|
|
|
+ } catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ return R.fail(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
|
|
|
@PostMapping("/backToOld")
|
|
|
@@ -203,7 +227,16 @@ public class CadastreManageController extends BaseController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+ @PostMapping("/getMdbCompareData")
|
|
|
+ public R<List<MdbAndDbData>> mdbCompareData(String uploadId) {
|
|
|
+ try {
|
|
|
+ List<MdbAndDbData> res = cadastreManageService.getMdbCompareData(uploadId);
|
|
|
+ return R.ok(res);
|
|
|
+ } catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ return R.fail(e.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
@RequestMapping("/testRun")
|
|
|
public R<Object> testRun() {
|
|
|
@@ -216,11 +249,4 @@ public class CadastreManageController extends BaseController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
}
|