From ba82d296ae3f3e5fd7e14907aab2103418d37011 Mon Sep 17 00:00:00 2001
From: xieb <vip_xiaobin810@163.com>
Date: Wed, 03 Apr 2024 10:05:37 +0800
Subject: [PATCH] 生成航线文件
---
src/main/java/com/dji/sample/patches/controller/GetPatchesController.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/java/com/dji/sample/patches/controller/GetPatchesController.java b/src/main/java/com/dji/sample/patches/controller/GetPatchesController.java
index 94ef34d..5ca7a73 100644
--- a/src/main/java/com/dji/sample/patches/controller/GetPatchesController.java
+++ b/src/main/java/com/dji/sample/patches/controller/GetPatchesController.java
@@ -20,11 +20,11 @@
@SysLogAnnotation(operModul = "图斑", operType = "查询", operDesc = "查询图斑的全部信息")
public ResponseResult<PaginationData<LotInfo>> page(@RequestParam Integer page,
@RequestParam(name = "page_size", defaultValue = "10") Integer pageSize,
- @RequestParam String itemId) {
+ @RequestParam String workspaceId) {
//调用service分页查询
PatchesParam param=PatchesParam.builder()
.page(page)
- .itemId(itemId)
+ .workspaceId(workspaceId)
.pageSize(pageSize).build();
PaginationData<LotInfo> data = getPatchesService.limitGet(param);
return ResponseResult.success(data);
@@ -39,11 +39,11 @@
@GetMapping("/GetPhoto")
public ResponseResult<PaginationData<MediaFileEntity>> GetPatchesPhoto(@RequestParam(name = "page", defaultValue = "1") Integer page,
@RequestParam(name = "page_size", defaultValue = "10") Integer pageSize,
- @RequestParam String itemId,
+ @RequestParam String workspaceId,
@RequestParam String dkbh){
PatchesParam param=PatchesParam.builder()
.page(page)
- .itemId(itemId)
+ .workspaceId(workspaceId)
.pageSize(pageSize).build();
getPatchesService.getPhoto(param,dkbh);
return ResponseResult.success(getPatchesService.getPhoto(param,dkbh));
--
Gitblit v1.9.3