From b8d62de41ff7e1e0549061308aa11f68cf881ed9 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期三, 16 七月 2025 17:01:20 +0800
Subject: [PATCH] 修改所有的controller

---
 se-system/src/main/java/com/terra/system/controller/all/BaseQueryController.java |  226 ++++++++++++++++++++++++++++----------------------------
 1 files changed, 114 insertions(+), 112 deletions(-)

diff --git a/se-system/src/main/java/com/terra/system/controller/all/BaseQueryController.java b/se-system/src/main/java/com/terra/system/controller/all/BaseQueryController.java
index 24ab8da..eccc09b 100644
--- a/se-system/src/main/java/com/terra/system/controller/all/BaseQueryController.java
+++ b/se-system/src/main/java/com/terra/system/controller/all/BaseQueryController.java
@@ -30,11 +30,14 @@
 import com.terra.system.service.sys.DepService;
 import com.terra.system.service.sys.DownlogService;
 import com.terra.system.service.sys.TokenService;
-import io.swagger.annotations.ApiImplicitParam;
-import io.swagger.annotations.ApiImplicitParams;
-import io.swagger.annotations.ApiOperation;
 import javax.annotation.Resource;
 
+import io.swagger.v3.oas.annotations.Operation;
+import io.swagger.v3.oas.annotations.Parameter;
+import io.swagger.v3.oas.annotations.Parameters;
+import io.swagger.v3.oas.annotations.enums.ParameterIn;
+import io.swagger.v3.oas.annotations.media.ArraySchema;
+import io.swagger.v3.oas.annotations.media.Schema;
 import org.springframework.web.bind.annotation.*;
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
@@ -77,11 +80,11 @@
     DictService dictService;
 
     @SysLog()
-    @ApiOperation(value = "鏌ヨ璁板綍鏁�")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "name", value = "鏄犲皠鍚嶇О", dataType = "String", paramType = "query", example = "dlgagnp"),
-            @ApiImplicitParam(name = "filter", value = "杩囨护鏉′欢", dataType = "String", paramType = "query", example = "gid >= 50 and name like '鍘�' and objectid < 5000.0"),
-            @ApiImplicitParam(name = "wkt", value = "WKT锛堣憲鍚嶆枃鏈級", dataType = "String", paramType = "query", example = "gAPpDbZ53XfoQfvT8dj/uhBWX5os8kBJQ1LrNvH3VX7byFQdUJMPiEr8Fkj0q2i1pw+L8KFrvR0MLXq2xaO21nlQQXmEPofJxpDQZwEWUIFZsToXo1kLRD3t6WQezxWB8YTzXHM20Ba73x/ZuuezVhOFOq1U8HKf1dXQdv7gBzEB6fWMmFDc3FuH8GDDHv3LfT86Gio9VgMO6ohlrUdf3ZKtTHeLSuzGF4t0RZuX97YBNo25IIzpeTfRTXBxfdxA")
+    @Operation(description = "鏌ヨ璁板綍鏁�")
+    @Parameters({
+            @Parameter(name = "name", description = "鏄犲皠鍚嶇О", example = "dlgagnp"),
+            @Parameter(name = "filter", description = "杩囨护鏉′欢", example = "gid >= 50 and name like '鍘�' and objectid < 5000.0"),
+            @Parameter(name = "wkt", description = "WKT锛堣憲鍚嶆枃鏈級", example = "gAPpDbZ53XfoQfvT8dj/uhBWX5os8kBJQ1LrNvH3VX7byFQdUJMPiEr8Fkj0q2i1pw+L8KFrvR0MLXq2xaO21nlQQXmEPofJxpDQZwEWUIFZsToXo1kLRD3t6WQezxWB8YTzXHM20Ba73x/ZuuezVhOFOq1U8HKf1dXQdv7gBzEB6fWMmFDc3FuH8GDDHv3LfT86Gio9VgMO6ohlrUdf3ZKtTHeLSuzGF4t0RZuX97YBNo25IIzpeTfRTXBxfdxA")
     })
     @GetMapping(value = "/selectCount")
     @PostMapping(value = "/selectCount")
@@ -105,17 +108,16 @@
     }
 
     @SysLog()
-    @ApiOperation(value = "鍒嗛〉鏌ヨ")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "name", value = "鏄犲皠鍚嶇О", dataType = "String", paramType = "query", example = "dlgagnp"),
-            @ApiImplicitParam(name = "depcode", value = "鍗曚綅缂栫爜", dataType = "String", paramType = "query", example = "00"),
-            @ApiImplicitParam(name = "dirs", value = "鐩綍缂栫爜", dataType = "String", paramType = "query", example = "00,01"),
-            @ApiImplicitParam(name = "filter", value = "杩囨护鏉′欢", dataType = "String", paramType = "query", example = "gid >= 50 and name like '鍘�' and objectid < 5000.0"),
-            @ApiImplicitParam(name = "wkt", value = "WKT锛堣憲鍚嶆枃鏈級", dataType = "String", paramType = "query", example = ""),
-            //@ApiImplicitParam(name = "srid", value = "绌洪棿寮曠敤鏍囪瘑绗�", dataType = "Integer", paramType = "query", example = "4326"),
-            @ApiImplicitParam(name = "pageIndex", value = "鍒嗛〉鏁帮紙浠�1寮�濮嬶級", dataType = "Integer", paramType = "query", example = "1"),
-            @ApiImplicitParam(name = "pageSize", value = "姣忛〉鏉℃暟", dataType = "Integer", paramType = "query", example = "10"),
-            @ApiImplicitParam(name = "hasGeom", value = "鏄�/鍚﹀寘鍚┖闂翠俊鎭�", dataType = "Integer", paramType = "query", example = "1")
+    @Operation(description = "鍒嗛〉鏌ヨ")
+    @Parameters({
+            @Parameter(name = "name", description = "鏄犲皠鍚嶇О", in = ParameterIn.QUERY, example = "dlgagnp"),
+            @Parameter(name = "depcode", description = "鍗曚綅缂栫爜", in = ParameterIn.QUERY, example = "00"),
+            @Parameter(name = "dirs", description = "鐩綍缂栫爜", in = ParameterIn.QUERY, example = "00,01"),
+            @Parameter(name = "filter", description = "杩囨护鏉′欢", in = ParameterIn.QUERY, example = "gid >= 50 and name like '鍘�' and objectid < 5000.0"),
+            @Parameter(name = "wkt", description = "WKT锛堣憲鍚嶆枃鏈級", in = ParameterIn.QUERY, example = ""),
+            @Parameter(name = "pageIndex", description = "鍒嗛〉鏁帮紙浠�1寮�濮嬶級", in = ParameterIn.QUERY, example = "1"),
+            @Parameter(name = "pageSize", description = "姣忛〉鏉℃暟", in = ParameterIn.QUERY, example = "10"),
+            @Parameter(name = "hasGeom", description = "鏄�/鍚﹀寘鍚┖闂翠俊鎭�", in = ParameterIn.QUERY, example = "1")
     })
     @GetMapping(value = "/selectByPage")
     @PostMapping(value = "/selectByPage")
@@ -187,12 +189,12 @@
     }
 
     @SysLog()
-    @ApiOperation(value = "缂撳啿鍖烘煡璇�")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "name", value = "鏄犲皠鍚嶇О", dataType = "String", paramType = "query", example = "dlgagnp"),
-            @ApiImplicitParam(name = "wkt", value = "WKT锛堣憲鍚嶆枃鏈級", dataType = "String", paramType = "query", example = ""),
-            @ApiImplicitParam(name = "buffer", value = "缂撳啿鍖哄ぇ灏�", dataType = "Double", paramType = "query", example = "10"),
-            @ApiImplicitParam(name = "limit", value = "闄愬埗鏉℃暟", dataType = "Integer", paramType = "query", example = "20")
+    @Operation(description = "缂撳啿鍖烘煡璇�")
+    @Parameters({
+            @Parameter(name = "name", description = "鏄犲皠鍚嶇О", in = ParameterIn.QUERY, example = "dlgagnp"),
+            @Parameter(name = "wkt", description = "WKT锛堣憲鍚嶆枃鏈級", in = ParameterIn.QUERY, example = ""),
+            @Parameter(name = "buffer", description = "缂撳啿鍖哄ぇ灏�", in = ParameterIn.QUERY, example = "10"),
+            @Parameter(name = "limit", description = "闄愬埗鏉℃暟", in = ParameterIn.QUERY, example = "20")
     })
     @GetMapping(value = "/selectByBuffer")
     public ResponseMsg<List<?>> selectByBuffer(String name, String wkt, Double buffer, Integer limit) {
@@ -226,12 +228,12 @@
     }
 
     @SysLog()
-    @ApiOperation(value = "鏍规嵁鐖禝D鍒嗛〉鏌ヨ骞惰繑鍥炶褰曟暟")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "metaid", value = "鐖禝D", dataType = "String", paramType = "query", example = "0"),
-            @ApiImplicitParam(name = "name", value = "鍚嶇О", dataType = "String", paramType = "query", example = ""),
-            @ApiImplicitParam(name = "pageSize", value = "姣忛〉鏉℃暟", dataType = "Integer", paramType = "query", example = "10"),
-            @ApiImplicitParam(name = "pageIndex", value = "鍒嗛〉鏁帮紙浠�1寮�濮嬶級", dataType = "Integer", paramType = "query", example = "1")
+    @Operation(description = "鏍规嵁鐖禝D鍒嗛〉鏌ヨ骞惰繑鍥炶褰曟暟")
+    @Parameters({
+            @Parameter(name = "metaid", description = "鐖禝D", in = ParameterIn.QUERY, example = "0"),
+            @Parameter(name = "name", description = "鍚嶇О", in = ParameterIn.QUERY, example = ""),
+            @Parameter(name = "pageSize", description = "姣忛〉鏉℃暟", in = ParameterIn.QUERY, example = "10"),
+            @Parameter(name = "pageIndex", description = "鍒嗛〉鏁帮紙浠�1寮�濮嬶級", in = ParameterIn.QUERY, example = "1")
     })
     @GetMapping(value = "/selectPageAndCountByPid")
     public ResponseMsg<List<MetaEntity>> selectPageAndCountByPid(Integer metaid, String name, Integer pageSize, Integer pageIndex) {
@@ -257,10 +259,10 @@
     }
 
     @SysLog()
-    @ApiOperation(value = "鏍规嵁ID鏌ヨWKT")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "name", value = "鏄犲皠鍚嶇О", dataType = "String", paramType = "query", example = "dlgagnp"),
-            @ApiImplicitParam(name = "gid", value = "GID", dataType = "Integer", paramType = "query", example = "1")
+    @Operation(description = "鏍规嵁ID鏌ヨWKT")
+    @Parameters({
+            @Parameter(name = "name", description = "鏄犲皠鍚嶇О", in = ParameterIn.QUERY, example = "dlgagnp"),
+            @Parameter(name = "gid", description = "GID", in = ParameterIn.QUERY, example = "1")
     })
     @GetMapping(value = "/selectWktById")
     public ResponseMsg<String> selectWktById(String name, Integer gid) {
@@ -287,10 +289,10 @@
     }
 
     @SysLog()
-    @ApiOperation(value = "鏍规嵁GID鏌ヨ")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "name", value = "鏄犲皠鍚嶇О", dataType = "String", paramType = "query", example = "dlgagnp"),
-            @ApiImplicitParam(name = "gid", value = "GID", dataType = "int", paramType = "query", example = "1")
+    @Operation(description = "鏍规嵁GID鏌ヨ")
+    @Parameters({
+            @Parameter(name = "name", description = "鏄犲皠鍚嶇О", in = ParameterIn.QUERY, example = "dlgagnp"),
+            @Parameter(name = "gid", description = "GID", in = ParameterIn.QUERY, example = "1")
     })
     @GetMapping(value = "/selectByGid")
     public ResponseMsg<Object> selectByGid(String name, int gid) {
@@ -316,9 +318,9 @@
     }
 
     @SysLog()
-    @ApiOperation(value = "鏍规嵁瀹炰綋鍚嶆煡璇㈣〃鍚�")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "name", value = "鏄犲皠鍚嶇О", dataType = "String", paramType = "query", example = "dlgagnp")
+    @Operation(description = "鏍规嵁瀹炰綋鍚嶆煡璇㈣〃鍚�")
+    @Parameters({
+            @Parameter(name = "name", description = "鏄犲皠鍚嶇О", in = ParameterIn.QUERY, example = "dlgagnp")
     })
     @GetMapping(value = "/selectTabByEntity")
     public ResponseMsg<Object> selectTabByEntity(String name) {
@@ -337,11 +339,11 @@
     }
 
     @SysLog()
-    @ApiOperation(value = "妯$硦鎼滅储瀛楁")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "name", value = "鏄犲皠鍚嶇О", dataType = "String", paramType = "query", example = "dlgagnp"),
-            @ApiImplicitParam(name = "field", value = "瀛楁", dataType = "String", paramType = "query", example = "name"),
-            @ApiImplicitParam(name = "value", value = "鍊�", dataType = "String", paramType = "query", example = "'鍘�'")
+    @Operation(description = "妯$硦鎼滅储瀛楁")
+    @Parameters({
+            @Parameter(name = "name", description = "鏄犲皠鍚嶇О", in = ParameterIn.QUERY, example = "dlgagnp"),
+            @Parameter(name = "field", description = "瀛楁", in = ParameterIn.QUERY, example = "name"),
+            @Parameter(name = "value", description = "鍊�", in = ParameterIn.QUERY, example = "'鍘�'")
     })
     @GetMapping(value = "/selectFieldFuzzy")
     public ResponseMsg<List<String>> selectFieldFuzzy(String name, String field, String value) {
@@ -369,9 +371,9 @@
     }
 
     @SysLog()
-    @ApiOperation(value = "妯$硦鎼滅储鐢ㄦ埛")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "name", value = "鐢ㄦ埛鍚�", dataType = "String", paramType = "query", example = "瀹�")
+    @Operation(description = "妯$硦鎼滅储鐢ㄦ埛")
+    @Parameters({
+            @Parameter(name = "name", description = "鐢ㄦ埛鍚�", in = ParameterIn.QUERY, example = "瀹�")
     })
     @GetMapping(value = "/selectUserFuzzy")
     public ResponseMsg<List<IdNameEntity>> selectUserFuzzy(String name) {
@@ -385,9 +387,9 @@
     }
 
     @SysLog()
-    @ApiOperation(value = "妯$硦鎼滅储鍗曚綅")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "name", value = "鍗曚綅鍚�", dataType = "String", paramType = "query", example = "鍙�")
+    @Operation(description = "妯$硦鎼滅储鍗曚綅")
+    @Parameters({
+            @Parameter(name = "name", description = "鍗曚綅鍚�", in = ParameterIn.QUERY, example = "鍙�")
     })
     @GetMapping(value = "/selectDepFuzzy")
     public ResponseMsg<List<IdNameEntity>> selectDepFuzzy(String name) {
@@ -401,10 +403,10 @@
     }
 
     @SysLog()
-    @ApiOperation(value = "鏌ヨ鎵�鏈夎〃")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "name", value = "鍚嶇О", dataType = "String", paramType = "query", example = "鐐�"),
-            @ApiImplicitParam(name = "hasGeom", value = "鍚湁Geom瀛楁", dataType = "Boolean", paramType = "query", example = "false")
+    @Operation(description = "鏌ヨ鎵�鏈夎〃")
+    @Parameters({
+            @Parameter(name = "name", description = "鍚嶇О", in = ParameterIn.QUERY, example = "鐐�"),
+            @Parameter(name = "hasGeom", description = "鍚湁Geom瀛楁", in = ParameterIn.QUERY, example = "false")
     })
     @GetMapping(value = "/selectTabs")
     public ResponseMsg<List<TabEntity>> selectTabs(String name, Boolean hasGeom) {
@@ -418,16 +420,16 @@
     }
 
     @SysLog()
-    @ApiOperation(value = "鏍规嵁琛ㄥ悕鍒嗛〉鏌ヨ琛�")
+    @Operation(description = "鏍规嵁琛ㄥ悕鍒嗛〉鏌ヨ琛�")
     @GetMapping(value = "/selectTabsByPage")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "depcode", value = "鍗曚綅缂栫爜", dataType = "String", paramType = "query", example = "00"),
-            @ApiImplicitParam(name = "dirs", value = "鐩綍缂栫爜", dataType = "String", paramType = "query", example = "00,01"),
-            @ApiImplicitParam(name = "tab", value = "琛ㄥ悕", dataType = "String", paramType = "query", example = "dlg_"),
-            @ApiImplicitParam(name = "types", value = "绫诲埆", dataType = "String", paramType = "query", example = "娴嬬粯锛圗SV锛�"),
-            @ApiImplicitParam(name = "hasGeom", value = "鍚湁Geom瀛楁", dataType = "Boolean", paramType = "query", example = "false"),
-            @ApiImplicitParam(name = "pageSize", value = "姣忛〉鏉℃暟", dataType = "Integer", paramType = "query", example = "10"),
-            @ApiImplicitParam(name = "pageIndex", value = "鍒嗛〉鏁帮紙浠�1寮�濮嬶級", dataType = "Integer", paramType = "query", example = "1")
+    @Parameters({
+            @Parameter(name = "depcode", description = "鍗曚綅缂栫爜", in = ParameterIn.QUERY, example = "00"),
+            @Parameter(name = "dirs", description = "鐩綍缂栫爜", in = ParameterIn.QUERY, example = "00,01"),
+            @Parameter(name = "tab", description = "琛ㄥ悕", in = ParameterIn.QUERY, example = "dlg_"),
+            @Parameter(name = "types", description = "绫诲埆", in = ParameterIn.QUERY, example = "娴嬬粯锛圗SV锛�"),
+            @Parameter(name = "hasGeom", description = "鍚湁Geom瀛楁", in = ParameterIn.QUERY, example = "false"),
+            @Parameter(name = "pageSize", description = "姣忛〉鏉℃暟", in = ParameterIn.QUERY, example = "10"),
+            @Parameter(name = "pageIndex", description = "鍒嗛〉鏁帮紙浠�1寮�濮嬶級", in = ParameterIn.QUERY, example = "1")
     })
     public ResponseMsg<Object> selectTabsByPage(String depcode, String dirs, String tab, String types, Boolean hasGeom, Integer pageSize, Integer pageIndex) {
         try {
@@ -505,9 +507,9 @@
     }
 
     @SysLog()
-    @ApiOperation(value = "鏌ヨ瀛楁淇℃伅")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "name", value = "鏄犲皠鍚嶇О", dataType = "String", paramType = "query", example = "dlg25wAanp")
+    @Operation(description = "鏌ヨ瀛楁淇℃伅")
+    @Parameters({
+            @Parameter(name = "name", description = "鏄犲皠鍚嶇О", in = ParameterIn.QUERY, example = "dlg25wAanp")
     })
     @GetMapping(value = "/selectFields")
     public ResponseMsg<List<DictEntity>> selectFields(String name) {
@@ -532,10 +534,10 @@
     }
 
     @SysLog()
-    @ApiOperation(value = "鏌ヨ瀛楁淇℃伅")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "ns", value = "鍚嶇О绌洪棿", dataType = "String", paramType = "query", example = "bd"),
-            @ApiImplicitParam(name = "tab", value = "琛ㄥ悕", dataType = "String", paramType = "query", example = "dlg25wAanp")
+    @Operation(description = "鏌ヨ瀛楁淇℃伅")
+    @Parameters({
+            @Parameter(name = "ns", description = "鍚嶇О绌洪棿", in = ParameterIn.QUERY, example = "bd"),
+            @Parameter(name = "tab", description = "琛ㄥ悕", in = ParameterIn.QUERY, example = "dlg25wAanp")
     })
     @GetMapping(value = "/selectTabFields")
     public ResponseMsg<List<DictEntity>> selectTabFields(String ns, String tab) {
@@ -553,9 +555,9 @@
     }
 
     @SysLog()
-    @ApiOperation(value = "鏌ヨ鍊煎煙淇℃伅")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "name", value = "鏄犲皠鍚嶇О", dataType = "String", paramType = "query", example = "dlg25wAanp")
+    @Operation(description = "鏌ヨ鍊煎煙淇℃伅")
+    @Parameters({
+            @Parameter(name = "name", description = "鏄犲皠鍚嶇О", in = ParameterIn.QUERY, example = "dlg25wAanp")
     })
     @GetMapping(value = "/selectDomains")
     public ResponseMsg<List<DomainEntity>> selectDomains(String name) {
@@ -580,10 +582,10 @@
     }
 
     @SysLog()
-    @ApiOperation(value = "鏌ヨ鏂囦欢")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "tabName", value = "琛ㄥ悕", dataType = "String", paramType = "query", example = "lf.sys_style"),
-            @ApiImplicitParam(name = "eventid", value = "涓婚敭", dataType = "String", paramType = "query", example = "fa25979a5ef8b43ba82a0be35b3fb0d4")
+    @Operation(description = "鏌ヨ鏂囦欢")
+    @Parameters({
+            @Parameter(name = "tabName", description = "琛ㄥ悕", in = ParameterIn.QUERY, example = "lf.sys_style"),
+            @Parameter(name = "eventid", description = "涓婚敭", in = ParameterIn.QUERY, example = "fa25979a5ef8b43ba82a0be35b3fb0d4")
     })
     @GetMapping(value = "/selectFiles")
     public ResponseMsg<List<AttachEntity>> selectFiles(String tabName, String eventid) {
@@ -601,9 +603,9 @@
     }
 
     @SysLog()
-    @ApiOperation(value = "鍒犻櫎鏂囦欢")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "ids", value = "ID鏁扮粍", dataType = "Integer", paramType = "query", example = "1,2")
+    @Operation(description = "鍒犻櫎鏂囦欢")
+    @Parameters({
+            @Parameter(name = "ids", description = "ID鏁扮粍", in = ParameterIn.QUERY, example = "1,2")
     })
     @GetMapping(value = "/deletes")
     public ResponseMsg<Integer> deleteFiles(@RequestParam List<Integer> ids) {
@@ -621,9 +623,9 @@
     }
 
     @SysLog()
-    @ApiOperation(value = "鏌ヨ鍏冩暟鎹腑婧㈠嚭鐨勫崟浣岻D")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "reqEntity", value = "璇锋眰涓嬭浇瀹炰綋", dataType = "DownloadReqEntity", paramType = "body")
+    @Operation(description = "鏌ヨ鍏冩暟鎹腑婧㈠嚭鐨勫崟浣岻D")
+    @Parameters({
+            @Parameter(name = "reqEntity", description = "璇锋眰涓嬭浇瀹炰綋")
     })
     @ResponseBody
     @PostMapping(value = "/selectMetaOverflowDep")
@@ -647,9 +649,9 @@
     }
 
     @SysLog()
-    @ApiOperation(value = "鏌ヨDB涓孩鍑虹殑鍗曚綅ID")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "reqEntity", value = "璇锋眰涓嬭浇瀹炰綋", dataType = "DownloadReqEntity", paramType = "body")
+    @Operation(description = "鏌ヨDB涓孩鍑虹殑鍗曚綅ID")
+    @Parameters({
+            @Parameter(name = "reqEntity", description = "璇锋眰涓嬭浇瀹炰綋")
     })
     @ResponseBody
     @PostMapping(value = "/selectDbOverflowDep")
@@ -676,9 +678,9 @@
     }
 
     @SysLog()
-    @ApiOperation(value = "鏍规嵁鍗曚綅缂栫爜鏁扮粍鏌ヨ鍗曚綅")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "codes", value = "鍗曚綅缂栫爜鏁扮粍", dataType = "String", paramType = "query", allowMultiple = true, example = "00,0001")
+    @Operation(description = "鏍规嵁鍗曚綅缂栫爜鏁扮粍鏌ヨ鍗曚綅")
+    @Parameters({
+            @Parameter(name = "codes", description = "鍗曚綅缂栫爜鏁扮粍", in = ParameterIn.QUERY, schema = @Schema(type = "array"), example = "00,0001")
     })
     @GetMapping(value = "/selectDepsByCodes")
     public ResponseMsg<Object> selectDepsByCodes(String[] codes) {
@@ -696,9 +698,9 @@
     }
 
     @SysLog()
-    @ApiOperation(value = "涓嬭浇DB鏁版嵁")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "dr", value = "璇锋眰涓嬭浇瀹炰綋", dataType = "DownloadReqEntity", paramType = "body")
+    @Operation(description = "涓嬭浇DB鏁版嵁")
+    @Parameters({
+            @Parameter(name = "dr", description = "璇锋眰涓嬭浇瀹炰綋")
     })
     @ResponseBody
     @PostMapping(value = "/downloadDbData")
@@ -730,9 +732,9 @@
     }
 
     @SysLog()
-    @ApiOperation(value = "鏌ョ湅鏂囦欢")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "guid", value = "闄勪欢Guid", dataType = "String", paramType = "body")
+    @Operation(description = "鏌ョ湅鏂囦欢")
+    @Parameters({
+            @Parameter(name = "guid", description = "闄勪欢Guid", in = ParameterIn.QUERY)
     })
     @GetMapping(value = "/downloadForView")
     public void downloadForView(String guid, HttpServletResponse res) {
@@ -740,11 +742,11 @@
     }
 
     @SysLog()
-    @ApiOperation(value = "鍒嗛〉鏌ヨ涓嬭浇鏂囦欢")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "name", value = "鍚嶇О", dataType = "String", paramType = "query", example = ""),
-            @ApiImplicitParam(name = "pageSize", value = "姣忛〉鏉℃暟", dataType = "Integer", paramType = "query", example = "10"),
-            @ApiImplicitParam(name = "pageIndex", value = "鍒嗛〉鏁帮紙浠�1寮�濮嬶級", dataType = "Integer", paramType = "query", example = "1")
+    @Operation(description = "鍒嗛〉鏌ヨ涓嬭浇鏂囦欢")
+    @Parameters({
+            @Parameter(name = "name", description = "鍚嶇О", in = ParameterIn.QUERY, example = ""),
+            @Parameter(name = "pageSize", description = "姣忛〉鏉℃暟", in = ParameterIn.QUERY, example = "10"),
+            @Parameter(name = "pageIndex", description = "鍒嗛〉鏁帮紙浠�1寮�濮嬶級", in = ParameterIn.QUERY, example = "1")
     })
     @GetMapping(value = "/selectPageCountForDownload")
     public ResponseMsg<List<DownloadEntity>> selectPageCountForDownload(String name, Integer pageSize, Integer pageIndex, HttpServletRequest req) {
@@ -771,9 +773,9 @@
     }
 
     @SysLog()
-    @ApiOperation(value = "鏌ヨ鐩綍绫诲埆")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "name", value = "鍚嶇О", dataType = "String", paramType = "query", example = "D")
+    @Operation(description = "鏌ヨ鐩綍绫诲埆")
+    @Parameters({
+            @Parameter(name = "name", description = "鍚嶇О", in = ParameterIn.QUERY, example = "D")
     })
     @GetMapping(value = "/selectDirTypes")
     public ResponseMsg<Object> selectDirTypes(String name) {
@@ -787,9 +789,9 @@
     }
 
     @SysLog()
-    @ApiOperation(value = "鏌ヨ椤圭洰鍚嶇О")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "name", value = "鍚嶇О", dataType = "String", paramType = "query", example = "瑗�")
+    @Operation(description = "鏌ヨ椤圭洰鍚嶇О")
+    @Parameters({
+            @Parameter(name = "name", description = "鍚嶇О", in = ParameterIn.QUERY, example = "瑗�")
     })
     @GetMapping(value = "/selectProject")
     public ResponseMsg<Object> selectProject(String name) {
@@ -803,9 +805,9 @@
     }
 
     @SysLog()
-    @ApiOperation(value = "鏍规嵁鍏冩暟鎹甀D鏌ヨ")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "id", value = "ID", dataType = "int", paramType = "query", example = "1")
+    @Operation(description = "鏍规嵁鍏冩暟鎹甀D鏌ヨ")
+    @Parameters({
+            @Parameter(name = "id", description = "ID", in = ParameterIn.QUERY, example = "1")
     })
     @GetMapping(value = "/selectMetaById")
     public ResponseMsg<MetaEntity> selectMetaById(int id) {

--
Gitblit v1.9.3