|  | @@ -5,10 +5,7 @@ import com.onemap.common.core.web.controller.BaseController;
 | 
											
												
													
														|  |  import com.onemap.common.core.web.domain.RequestResult;
 |  |  import com.onemap.common.core.web.domain.RequestResult;
 | 
											
												
													
														|  |  import com.onemap.common.datasource.annotation.Slave;
 |  |  import com.onemap.common.datasource.annotation.Slave;
 | 
											
												
													
														|  |  import org.springframework.beans.factory.annotation.Autowired;
 |  |  import org.springframework.beans.factory.annotation.Autowired;
 | 
											
												
													
														|  | -import org.springframework.web.bind.annotation.PostMapping;
 |  | 
 | 
											
												
													
														|  | -import org.springframework.web.bind.annotation.RequestMapping;
 |  | 
 | 
											
												
													
														|  | -import org.springframework.web.bind.annotation.RequestParam;
 |  | 
 | 
											
												
													
														|  | -import org.springframework.web.bind.annotation.RestController;
 |  | 
 | 
											
												
													
														|  | 
 |  | +import org.springframework.web.bind.annotation.*;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  import java.util.List;
 |  |  import java.util.List;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -71,14 +68,15 @@ public class AnalyseUtilsDBController extends BaseController {
 | 
											
												
													
														|  |       *
 |  |       *
 | 
											
												
													
														|  |       * @param tableName TABLE名称(vater空间中表)
 |  |       * @param tableName TABLE名称(vater空间中表)
 | 
											
												
													
														|  |       * @param tableIds  查询数据集ID
 |  |       * @param tableIds  查询数据集ID
 | 
											
												
													
														|  | -     * @param ewkt      wkt
 |  | 
 | 
											
												
													
														|  | 
 |  | +     * @param wkt      wkt
 | 
											
												
													
														|  |       * @return
 |  |       * @return
 | 
											
												
													
														|  |       */
 |  |       */
 | 
											
												
													
														|  | -    @PostMapping("/contains/table_wkt")
 |  | 
 | 
											
												
													
														|  | 
 |  | +    @GetMapping("/contains/table_wkt")
 | 
											
												
													
														|  | 
 |  | +    @Slave
 | 
											
												
													
														|  |      public RequestResult containsTableWkt(@RequestParam(value = "tableName") String tableName,
 |  |      public RequestResult containsTableWkt(@RequestParam(value = "tableName") String tableName,
 | 
											
												
													
														|  |                                            @RequestParam(value = "tableIds", required = false) List<String> tableIds,
 |  |                                            @RequestParam(value = "tableIds", required = false) List<String> tableIds,
 | 
											
												
													
														|  | -                                          @RequestParam(value = "ewkt") String ewkt) {
 |  | 
 | 
											
												
													
														|  | -        return RequestResult.success(analyseUtilsDBService.containsTableWkt(tableName, tableIds, ewkt));
 |  | 
 | 
											
												
													
														|  | 
 |  | +                                          @RequestParam(value = "wkt") String wkt) {
 | 
											
												
													
														|  | 
 |  | +        return RequestResult.success(analyseUtilsDBService.containsTableWkt(tableName, tableIds, wkt));
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      /**
 |  |      /**
 | 
											
										
											
												
													
														|  | @@ -89,7 +87,7 @@ public class AnalyseUtilsDBController extends BaseController {
 | 
											
												
													
														|  |       * @param tableIdsB
 |  |       * @param tableIdsB
 | 
											
												
													
														|  |       * @return
 |  |       * @return
 | 
											
												
													
														|  |       */
 |  |       */
 | 
											
												
													
														|  | -    @PostMapping("/contains/tables")
 |  | 
 | 
											
												
													
														|  | 
 |  | +    @GetMapping("/contains/tables")
 | 
											
												
													
														|  |      @Slave
 |  |      @Slave
 | 
											
												
													
														|  |      public RequestResult containsTables(@RequestParam(value = "inputTableA") String tableNameA,
 |  |      public RequestResult containsTables(@RequestParam(value = "inputTableA") String tableNameA,
 | 
											
												
													
														|  |                                          @RequestParam(value = "inputTableB") String tableNameB,
 |  |                                          @RequestParam(value = "inputTableB") String tableNameB,
 | 
											
										
											
												
													
														|  | @@ -106,7 +104,7 @@ public class AnalyseUtilsDBController extends BaseController {
 | 
											
												
													
														|  |       * @param ewkt      wkt
 |  |       * @param ewkt      wkt
 | 
											
												
													
														|  |       * @return
 |  |       * @return
 | 
											
												
													
														|  |       */
 |  |       */
 | 
											
												
													
														|  | -    @PostMapping("/distance/table_wkt")
 |  | 
 | 
											
												
													
														|  | 
 |  | +    @GetMapping("/distance/table_wkt")
 | 
											
												
													
														|  |      @Slave
 |  |      @Slave
 | 
											
												
													
														|  |      public RequestResult distanceTableWkt(@RequestParam(value = "tableName") String tableName,
 |  |      public RequestResult distanceTableWkt(@RequestParam(value = "tableName") String tableName,
 | 
											
												
													
														|  |                                            @RequestParam(value = "tableIds", required = false) List<String> tableIds,
 |  |                                            @RequestParam(value = "tableIds", required = false) List<String> tableIds,
 | 
											
										
											
												
													
														|  | @@ -123,7 +121,7 @@ public class AnalyseUtilsDBController extends BaseController {
 | 
											
												
													
														|  |       * @param inputIdsB
 |  |       * @param inputIdsB
 | 
											
												
													
														|  |       * @return
 |  |       * @return
 | 
											
												
													
														|  |       */
 |  |       */
 | 
											
												
													
														|  | -    @PostMapping("/distance/tables")
 |  | 
 | 
											
												
													
														|  | 
 |  | +    @GetMapping("/distance/tables")
 | 
											
												
													
														|  |      @Slave
 |  |      @Slave
 | 
											
												
													
														|  |      public RequestResult distanceTables(@RequestParam(value = "inputTableA") String inputTableA,
 |  |      public RequestResult distanceTables(@RequestParam(value = "inputTableA") String inputTableA,
 | 
											
												
													
														|  |                                          @RequestParam(value = "inputTableB") String inputTableB,
 |  |                                          @RequestParam(value = "inputTableB") String inputTableB,
 |