|
@@ -130,15 +130,6 @@ public class VectorController {
|
|
|
}
|
|
|
|
|
|
|
|
|
-// @ApiOperation("test")
|
|
|
-// @PostMapping(value = "test/{directoryName}/", consumes = { "multipart/form-data" })
|
|
|
-// private R test(@RequestParam("file") MultipartFile file, @PathVariable("directoryName") String directoryName, @RequestParam(value = "str",required = false) String str){
|
|
|
-// log.info("run upload");
|
|
|
-// log.info("directoryName: {}", directoryName);
|
|
|
-// log.info("str: {}", str);
|
|
|
-// return new R(200, "123");
|
|
|
-// }
|
|
|
-
|
|
|
|
|
|
|
|
|
@ApiOperation("获取矢量数据列表")
|
|
@@ -161,31 +152,6 @@ public class VectorController {
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-// @ApiOperation("矢量数据判断坐标")
|
|
|
-// @GetMapping("command/judge/coord/{fileId}/")
|
|
|
-// private R cmdJudgeCoord(@PathVariable("fileId") Long fileId) {
|
|
|
-// log.info("run cmdJudgeCoord: {}", fileId);
|
|
|
-// FileEntity entity = fileServer.findById(fileId);
|
|
|
-//
|
|
|
-// String cmd = Command.VECTOR_JUDGE_COORD;
|
|
|
-// cmd = cmd.replace("@inputFile", entity.getFileUrl());
|
|
|
-// log.info("cmd: {}", cmd);
|
|
|
-//
|
|
|
-// boolean isJudge = cmdServer.exeCmdJudgeCoord(cmd);
|
|
|
-//
|
|
|
-// if (isJudge){
|
|
|
-// log.info("need to transform");
|
|
|
-// } else {
|
|
|
-// log.info("not to transform");
|
|
|
-// }
|
|
|
-//
|
|
|
-//
|
|
|
-// return new R(200, isJudge);
|
|
|
-// }
|
|
|
-
|
|
|
-
|
|
|
@ApiOperation("矢量数据判断坐标")
|
|
|
@GetMapping("command/judge/coord/{fileId}/")
|
|
|
private R cmdJudgeCoord(@PathVariable("fileId") Long fileId) {
|