diff --git a/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeController.java b/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeController.java index e80dfdc8f..544a44a61 100644 --- a/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeController.java +++ b/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeController.java @@ -22,7 +22,7 @@ import org.simpleframework.xml.core.Validate; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Lazy; import org.springframework.web.bind.annotation.*; -import springfox.documentation.annotations.ApiIgnore; +import io.swagger.v3.oas.annotations.Parameter; import java.util.HashMap; import java.util.List; @@ -59,7 +59,7 @@ public class MachineDeviceLargeController { @ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"), }) @GetMapping(value = "/page") - public Result> queryPageList(@ApiIgnore @RequestParam HashMap param) { + public Result> queryPageList(@Parameter(hidden = true) @RequestParam HashMap param) { return Result.success(machineDeviceLargeService.queryPageList(param)); } @@ -70,7 +70,7 @@ public class MachineDeviceLargeController { @OperLog(operModul = "大型机械管理", operType = "列表查询", operDesc = "列表查询大型机械信息") @ApiOperation(value = "列表查询大型机械信息", notes = "列表查询大型机械信息", httpMethod="GET") @GetMapping(value = "/list") - public Result> queryList(@ApiIgnore @RequestParam HashMap param) { + public Result> queryList(@Parameter(hidden = true) @RequestParam HashMap param) { return Result.success(machineDeviceLargeService.queryList(param)); } @@ -108,7 +108,7 @@ public class MachineDeviceLargeController { @ApiOperation(value = "删除大型机械信息", notes = "删除大型机械信息" , httpMethod="POST") @ApiImplicitParam(name = "id", value = "大型机械ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}") @PostMapping(value = "/delete") - public Result delete(@ApiIgnore @RequestBody HashMap map) { + public Result delete(@Parameter(hidden = true) @RequestBody HashMap map) { machineDeviceLargeService.delete(MapUtils.getString(map, "id")); return Result.ok(); } diff --git a/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryController.java b/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryController.java index 09d4e0b5b..6e425d5c7 100644 --- a/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryController.java +++ b/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryController.java @@ -44,7 +44,7 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Lazy; import org.springframework.transaction.annotation.Transactional; import org.springframework.web.bind.annotation.*; -import springfox.documentation.annotations.ApiIgnore; +import io.swagger.v3.oas.annotations.Parameter; import java.util.*; import java.util.stream.Collectors; @@ -110,7 +110,7 @@ public class MachineDeviceLargeEntryController { @ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"), }) @GetMapping(value = "/page") - public Result> queryPageList(@ApiIgnore @RequestParam HashMap param) { + public Result> queryPageList(@Parameter(hidden = true) @RequestParam HashMap param) { return Result.success(machineDeviceLargeEntryService.queryPageList(param)); } @@ -122,7 +122,7 @@ public class MachineDeviceLargeEntryController { @OperLog(operModul = "大型机械进场管理", operType = "列表查询", operDesc = "列表查询大型机械进场信息") @ApiOperation(value = "列表查询大型机械进场信息", notes = "列表查询大型机械进场信息", httpMethod = "GET") @GetMapping(value = "/list") - public Result> queryList(@ApiIgnore @RequestParam HashMap param) { + public Result> queryList(@Parameter(hidden = true) @RequestParam HashMap param) { return Result.success(machineDeviceLargeEntryService.queryList(param)); } @@ -149,7 +149,7 @@ public class MachineDeviceLargeEntryController { @ApiOperation(value = "删除大型机械进场信息", notes = "删除大型机械进场信息", httpMethod = "POST") @ApiImplicitParam(name = "id", value = "大型机械进场ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}") @PostMapping(value = "/delete") - public Result delete(@ApiIgnore @RequestBody HashMap map) { + public Result delete(@Parameter(hidden = true) @RequestBody HashMap map) { machineDeviceLargeEntryService.delete(MapUtils.getString(map, "id")); return Result.ok(); } @@ -269,7 +269,7 @@ public class MachineDeviceLargeEntryController { @ApiOperation(value = "查询大型机械进场的作业人员信息列表", notes = "查询大型机械进场的作业人员信息列表", httpMethod = "POST") @ApiImplicitParam(name = "id", value = "大型机械进场ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}") @PostMapping(value = "/getOperatorListById") - public Result> getOperatorListById(@ApiIgnore @RequestBody HashMap param) { + public Result> getOperatorListById(@Parameter(hidden = true) @RequestBody HashMap param) { String id = MapUtils.getString(param, "id"); MachineDeviceLargeEntry entry = machineDeviceLargeEntryService.getById(id); String operator = entry.getOperator(); diff --git a/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryFileController.java b/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryFileController.java index 992673c5b..5c43bfcce 100644 --- a/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryFileController.java +++ b/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryFileController.java @@ -22,7 +22,7 @@ import org.simpleframework.xml.core.Validate; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Lazy; import org.springframework.web.bind.annotation.*; -import springfox.documentation.annotations.ApiIgnore; +import io.swagger.v3.oas.annotations.Parameter; import java.util.HashMap; import java.util.List; @@ -62,7 +62,7 @@ public class MachineDeviceLargeEntryFileController { @ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"), }) @GetMapping(value = "/page") - public Result> queryPageList(@ApiIgnore @RequestParam HashMap param) { + public Result> queryPageList(@Parameter(hidden = true) @RequestParam HashMap param) { return Result.success(machineDeviceLargeEntryFileService.queryPageList(param)); } @@ -74,7 +74,7 @@ public class MachineDeviceLargeEntryFileController { @OperLog(operModul = "大型机械进场目录资料管理", operType = "列表查询", operDesc = "列表查询大型机械进场目录资料信息") @ApiOperation(value = "列表查询大型机械进场目录资料信息", notes = "列表查询大型机械进场目录资料信息", httpMethod = "GET") @GetMapping(value = "/list") - public Result> queryList(@ApiIgnore @RequestParam HashMap param) { + public Result> queryList(@Parameter(hidden = true) @RequestParam HashMap param) { return Result.success(machineDeviceLargeEntryFileService.queryList(param)); } @@ -115,7 +115,7 @@ public class MachineDeviceLargeEntryFileController { @ApiOperation(value = "删除大型机械进场目录资料信息", notes = "删除大型机械进场目录资料信息", httpMethod = "POST") @ApiImplicitParam(name = "id", value = "大型机械进场目录资料ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}") @PostMapping(value = "/delete") - public Result delete(@ApiIgnore @RequestBody HashMap map) { + public Result delete(@Parameter(hidden = true) @RequestBody HashMap map) { machineDeviceLargeEntryFileService.delete(MapUtils.getString(map, "id")); return Result.ok(); } @@ -141,7 +141,7 @@ public class MachineDeviceLargeEntryFileController { @ApiImplicitParam(name = "catalogName", value = "目录名称", paramType = "body", required = false, dataType = "String", example = "{\"id\":\"1\"}"), }) @PostMapping(value = "/getCatalogsWithFile") - public Result> getCatalogsWithFile(@ApiIgnore @RequestBody HashMap param) { + public Result> getCatalogsWithFile(@Parameter(hidden = true) @RequestBody HashMap param) { String largeEntryId = MapUtils.getString(param, "largeEntryId"); MachineDeviceLargeEntryVo entryVo = machineDeviceLargeEntryService.queryById(largeEntryId); param.put("projectSn", entryVo.getProjectSn()); diff --git a/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryInspectCheckController.java b/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryInspectCheckController.java index 33b22d761..90c4a034b 100644 --- a/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryInspectCheckController.java +++ b/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryInspectCheckController.java @@ -17,7 +17,7 @@ import org.simpleframework.xml.core.Validate; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Lazy; import org.springframework.web.bind.annotation.*; -import springfox.documentation.annotations.ApiIgnore; +import io.swagger.v3.oas.annotations.Parameter; import java.util.HashMap; import java.util.List; @@ -50,7 +50,7 @@ public class MachineDeviceLargeEntryInspectCheckController { @ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"), }) @GetMapping(value = "/page") - public Result> queryPageList(@ApiIgnore @RequestParam HashMap param) { + public Result> queryPageList(@Parameter(hidden = true) @RequestParam HashMap param) { return Result.success(machineDeviceLargeEntryInspectCheckService.queryPageList(param)); } @@ -61,7 +61,7 @@ public class MachineDeviceLargeEntryInspectCheckController { @OperLog(operModul = "大型机械进场绑定的检查项管理", operType = "列表查询", operDesc = "列表查询大型机械进场绑定的检查项信息") @ApiOperation(value = "列表查询大型机械进场绑定的检查项信息", notes = "列表查询大型机械进场绑定的检查项信息", httpMethod="GET") @GetMapping(value = "/list") - public Result> queryList(@ApiIgnore @RequestParam HashMap param) { + public Result> queryList(@Parameter(hidden = true) @RequestParam HashMap param) { return Result.success(machineDeviceLargeEntryInspectCheckService.queryList(param)); } @@ -99,7 +99,7 @@ public class MachineDeviceLargeEntryInspectCheckController { @ApiOperation(value = "删除大型机械进场绑定的检查项信息", notes = "删除大型机械进场绑定的检查项信息" , httpMethod="POST") @ApiImplicitParam(name = "id", value = "大型机械进场绑定的检查项ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}") @PostMapping(value = "/delete") - public Result delete(@ApiIgnore @RequestBody HashMap map) { + public Result delete(@Parameter(hidden = true) @RequestBody HashMap map) { machineDeviceLargeEntryInspectCheckService.delete(MapUtils.getString(map, "id")); return Result.ok(); } diff --git a/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryInspectCheckRecordController.java b/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryInspectCheckRecordController.java index 99adc3d0e..b629eb044 100644 --- a/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryInspectCheckRecordController.java +++ b/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryInspectCheckRecordController.java @@ -17,7 +17,7 @@ import org.simpleframework.xml.core.Validate; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Lazy; import org.springframework.web.bind.annotation.*; -import springfox.documentation.annotations.ApiIgnore; +import io.swagger.v3.oas.annotations.Parameter; import java.util.HashMap; import java.util.List; @@ -50,7 +50,7 @@ public class MachineDeviceLargeEntryInspectCheckRecordController { @ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"), }) @GetMapping(value = "/page") - public Result> queryPageList(@ApiIgnore @RequestParam HashMap param) { + public Result> queryPageList(@Parameter(hidden = true) @RequestParam HashMap param) { return Result.success(machineDeviceLargeEntryInspectCheckRecordService.queryPageList(param)); } @@ -61,7 +61,7 @@ public class MachineDeviceLargeEntryInspectCheckRecordController { @OperLog(operModul = "大型机械进场检查项的检查记录管理", operType = "列表查询", operDesc = "列表查询大型机械进场检查项的检查记录信息") @ApiOperation(value = "列表查询大型机械进场检查项的检查记录信息", notes = "列表查询大型机械进场检查项的检查记录信息", httpMethod="GET") @GetMapping(value = "/list") - public Result> queryList(@ApiIgnore @RequestParam HashMap param) { + public Result> queryList(@Parameter(hidden = true) @RequestParam HashMap param) { return Result.success(machineDeviceLargeEntryInspectCheckRecordService.queryList(param)); } @@ -99,7 +99,7 @@ public class MachineDeviceLargeEntryInspectCheckRecordController { @ApiOperation(value = "删除大型机械进场检查项的检查记录信息", notes = "删除大型机械进场检查项的检查记录信息" , httpMethod="POST") @ApiImplicitParam(name = "id", value = "大型机械进场检查项的检查记录ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}") @PostMapping(value = "/delete") - public Result delete(@ApiIgnore @RequestBody HashMap map) { + public Result delete(@Parameter(hidden = true) @RequestBody HashMap map) { machineDeviceLargeEntryInspectCheckRecordService.delete(MapUtils.getString(map, "id")); return Result.ok(); } diff --git a/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryInspectTableController.java b/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryInspectTableController.java index 5e2cc52d1..837dd6658 100644 --- a/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryInspectTableController.java +++ b/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryInspectTableController.java @@ -17,7 +17,7 @@ import org.simpleframework.xml.core.Validate; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Lazy; import org.springframework.web.bind.annotation.*; -import springfox.documentation.annotations.ApiIgnore; +import io.swagger.v3.oas.annotations.Parameter; import java.util.HashMap; import java.util.List; @@ -50,7 +50,7 @@ public class MachineDeviceLargeEntryInspectTableController { @ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"), }) @GetMapping(value = "/page") - public Result> queryPageList(@ApiIgnore @RequestParam HashMap param) { + public Result> queryPageList(@Parameter(hidden = true) @RequestParam HashMap param) { return Result.success(machineDeviceLargeEntryInspectTableService.queryPageList(param)); } @@ -61,7 +61,7 @@ public class MachineDeviceLargeEntryInspectTableController { @OperLog(operModul = "大型机械进场绑定检查表管理", operType = "列表查询", operDesc = "列表查询大型机械进场绑定检查表信息") @ApiOperation(value = "列表查询大型机械进场绑定检查表信息", notes = "列表查询大型机械进场绑定检查表信息", httpMethod="GET") @GetMapping(value = "/list") - public Result> queryList(@ApiIgnore @RequestParam HashMap param) { + public Result> queryList(@Parameter(hidden = true) @RequestParam HashMap param) { return Result.success(machineDeviceLargeEntryInspectTableService.queryList(param)); } @@ -99,7 +99,7 @@ public class MachineDeviceLargeEntryInspectTableController { @ApiOperation(value = "删除大型机械进场绑定检查表信息", notes = "删除大型机械进场绑定检查表信息" , httpMethod="POST") @ApiImplicitParam(name = "id", value = "大型机械进场绑定检查表ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}") @PostMapping(value = "/delete") - public Result delete(@ApiIgnore @RequestBody HashMap map) { + public Result delete(@Parameter(hidden = true) @RequestBody HashMap map) { machineDeviceLargeEntryInspectTableService.delete(MapUtils.getString(map, "id")); return Result.ok(); } diff --git a/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryInspectTableRecordController.java b/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryInspectTableRecordController.java index 669a30c15..5163ba6b4 100644 --- a/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryInspectTableRecordController.java +++ b/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryInspectTableRecordController.java @@ -17,7 +17,7 @@ import org.simpleframework.xml.core.Validate; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Lazy; import org.springframework.web.bind.annotation.*; -import springfox.documentation.annotations.ApiIgnore; +import io.swagger.v3.oas.annotations.Parameter; import java.util.HashMap; import java.util.List; @@ -50,7 +50,7 @@ public class MachineDeviceLargeEntryInspectTableRecordController { @ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"), }) @GetMapping(value = "/page") - public Result> queryPageList(@ApiIgnore @RequestParam HashMap param) { + public Result> queryPageList(@Parameter(hidden = true) @RequestParam HashMap param) { return Result.success(machineDeviceLargeEntryInspectTableRecordService.queryPageList(param)); } @@ -61,7 +61,7 @@ public class MachineDeviceLargeEntryInspectTableRecordController { @OperLog(operModul = "大型机械进场检查表的检查记录管理", operType = "列表查询", operDesc = "列表查询大型机械进场检查表的检查记录信息") @ApiOperation(value = "列表查询大型机械进场检查表的检查记录信息", notes = "列表查询大型机械进场检查表的检查记录信息", httpMethod="GET") @GetMapping(value = "/list") - public Result> queryList(@ApiIgnore @RequestParam HashMap param) { + public Result> queryList(@Parameter(hidden = true) @RequestParam HashMap param) { return Result.success(machineDeviceLargeEntryInspectTableRecordService.queryList(param)); } @@ -99,7 +99,7 @@ public class MachineDeviceLargeEntryInspectTableRecordController { @ApiOperation(value = "删除大型机械进场检查表的检查记录信息", notes = "删除大型机械进场检查表的检查记录信息" , httpMethod="POST") @ApiImplicitParam(name = "id", value = "大型机械进场检查表的检查记录ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}") @PostMapping(value = "/delete") - public Result delete(@ApiIgnore @RequestBody HashMap map) { + public Result delete(@Parameter(hidden = true) @RequestBody HashMap map) { machineDeviceLargeEntryInspectTableRecordService.delete(MapUtils.getString(map, "id")); return Result.ok(); } diff --git a/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryInspectionDetectionController.java b/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryInspectionDetectionController.java index f40126cd0..288776511 100644 --- a/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryInspectionDetectionController.java +++ b/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryInspectionDetectionController.java @@ -17,7 +17,7 @@ import org.simpleframework.xml.core.Validate; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Lazy; import org.springframework.web.bind.annotation.*; -import springfox.documentation.annotations.ApiIgnore; +import io.swagger.v3.oas.annotations.Parameter; import java.util.HashMap; import java.util.List; @@ -50,7 +50,7 @@ public class MachineDeviceLargeEntryInspectionDetectionController { @ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"), }) @GetMapping(value = "/page") - public Result> queryPageList(@ApiIgnore @RequestParam HashMap param) { + public Result> queryPageList(@Parameter(hidden = true) @RequestParam HashMap param) { return Result.success(machineDeviceLargeEntryInspectionDetectionService.queryPageList(param)); } @@ -61,7 +61,7 @@ public class MachineDeviceLargeEntryInspectionDetectionController { @OperLog(operModul = "大型机械进场检验检测管理", operType = "列表查询", operDesc = "列表查询大型机械进场检验检测信息") @ApiOperation(value = "列表查询大型机械进场检验检测信息", notes = "列表查询大型机械进场检验检测信息", httpMethod="GET") @GetMapping(value = "/list") - public Result> queryList(@ApiIgnore @RequestParam HashMap param) { + public Result> queryList(@Parameter(hidden = true) @RequestParam HashMap param) { return Result.success(machineDeviceLargeEntryInspectionDetectionService.queryList(param)); } @@ -99,7 +99,7 @@ public class MachineDeviceLargeEntryInspectionDetectionController { @ApiOperation(value = "删除大型机械进场检验检测信息", notes = "删除大型机械进场检验检测信息" , httpMethod="POST") @ApiImplicitParam(name = "id", value = "大型机械进场检验检测ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}") @PostMapping(value = "/delete") - public Result delete(@ApiIgnore @RequestBody HashMap map) { + public Result delete(@Parameter(hidden = true) @RequestBody HashMap map) { machineDeviceLargeEntryInspectionDetectionService.delete(MapUtils.getString(map, "id")); return Result.ok(); } diff --git a/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryMaintenanceController.java b/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryMaintenanceController.java index 55f889fab..c1acb96fc 100644 --- a/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryMaintenanceController.java +++ b/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryMaintenanceController.java @@ -17,7 +17,7 @@ import org.simpleframework.xml.core.Validate; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Lazy; import org.springframework.web.bind.annotation.*; -import springfox.documentation.annotations.ApiIgnore; +import io.swagger.v3.oas.annotations.Parameter; import java.util.HashMap; import java.util.List; @@ -50,7 +50,7 @@ public class MachineDeviceLargeEntryMaintenanceController { @ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"), }) @GetMapping(value = "/page") - public Result> queryPageList(@ApiIgnore @RequestParam HashMap param) { + public Result> queryPageList(@Parameter(hidden = true) @RequestParam HashMap param) { return Result.success(machineDeviceLargeEntryMaintenanceService.queryPageList(param)); } @@ -61,7 +61,7 @@ public class MachineDeviceLargeEntryMaintenanceController { @OperLog(operModul = "大型机械进场维修保养管理", operType = "列表查询", operDesc = "列表查询大型机械进场维修保养信息") @ApiOperation(value = "列表查询大型机械进场维修保养信息", notes = "列表查询大型机械进场维修保养信息", httpMethod="GET") @GetMapping(value = "/list") - public Result> queryList(@ApiIgnore @RequestParam HashMap param) { + public Result> queryList(@Parameter(hidden = true) @RequestParam HashMap param) { return Result.success(machineDeviceLargeEntryMaintenanceService.queryList(param)); } @@ -99,7 +99,7 @@ public class MachineDeviceLargeEntryMaintenanceController { @ApiOperation(value = "删除大型机械进场维修保养信息", notes = "删除大型机械进场维修保养信息" , httpMethod="POST") @ApiImplicitParam(name = "id", value = "大型机械进场维修保养ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}") @PostMapping(value = "/delete") - public Result delete(@ApiIgnore @RequestBody HashMap map) { + public Result delete(@Parameter(hidden = true) @RequestBody HashMap map) { machineDeviceLargeEntryMaintenanceService.delete(MapUtils.getString(map, "id")); return Result.ok(); } diff --git a/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryOperateRecordController.java b/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryOperateRecordController.java index 8f764b895..6ed62217f 100644 --- a/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryOperateRecordController.java +++ b/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceLargeEntryOperateRecordController.java @@ -7,15 +7,15 @@ import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiImplicitParams; import java.util.HashMap; -import springfox.documentation.annotations.ApiIgnore; +import io.swagger.v3.oas.annotations.Parameter; import java.util.Arrays; import java.util.List; import java.util.Map; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; +import jakarta.servlet.http.HttpServletRequest; +import jakarta.servlet.http.HttpServletResponse; import com.zhgd.jeecg.common.api.vo.Result; import com.zhgd.jeecg.common.system.query.QueryGenerator; import com.zhgd.jeecg.common.util.oConvertUtils; @@ -73,7 +73,7 @@ public class MachineDeviceLargeEntryOperateRecordController { @ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"), }) @GetMapping(value = "/page") - public Result> queryPageList(@ApiIgnore @RequestParam HashMap param) { + public Result> queryPageList(@Parameter(hidden = true) @RequestParam HashMap param) { return Result.success(machineDeviceLargeEntryOperateRecordService.queryPageList(param)); } @@ -84,7 +84,7 @@ public class MachineDeviceLargeEntryOperateRecordController { @OperLog(operModul = "大型机械进场操作记录管理", operType = "列表查询", operDesc = "列表查询大型机械进场操作记录信息") @ApiOperation(value = "列表查询大型机械进场操作记录信息", notes = "列表查询大型机械进场操作记录信息", httpMethod="GET") @GetMapping(value = "/list") - public Result> queryList(@ApiIgnore @RequestParam HashMap param) { + public Result> queryList(@Parameter(hidden = true) @RequestParam HashMap param) { return Result.success(machineDeviceLargeEntryOperateRecordService.queryList(param)); } @@ -122,7 +122,7 @@ public class MachineDeviceLargeEntryOperateRecordController { @ApiOperation(value = "删除大型机械进场操作记录信息", notes = "删除大型机械进场操作记录信息" , httpMethod="POST") @ApiImplicitParam(name = "id", value = "大型机械进场操作记录ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}") @PostMapping(value = "/delete") - public Result delete(@ApiIgnore @RequestBody HashMap map) { + public Result delete(@Parameter(hidden = true) @RequestBody HashMap map) { machineDeviceLargeEntryOperateRecordService.delete(MapUtils.getString(map, "id")); return Result.ok(); } diff --git a/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceTypeCatalogController.java b/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceTypeCatalogController.java index 9f9e8093d..c269c8259 100644 --- a/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceTypeCatalogController.java +++ b/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceTypeCatalogController.java @@ -22,7 +22,7 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Lazy; import org.springframework.transaction.annotation.Transactional; import org.springframework.web.bind.annotation.*; -import springfox.documentation.annotations.ApiIgnore; +import io.swagger.v3.oas.annotations.Parameter; import java.util.HashMap; import java.util.List; @@ -58,7 +58,7 @@ public class MachineDeviceTypeCatalogController { @ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"), }) @GetMapping(value = "/page") - public Result> queryPageList(@ApiIgnore @RequestParam HashMap param) { + public Result> queryPageList(@Parameter(hidden = true) @RequestParam HashMap param) { return Result.success(machineDeviceTypeCatalogService.queryPageList(param)); } @@ -70,7 +70,7 @@ public class MachineDeviceTypeCatalogController { @OperLog(operModul = "机械设备类别绑定目录管理", operType = "列表查询", operDesc = "列表查询机械设备类别绑定目录信息") @ApiOperation(value = "列表查询机械设备类别绑定目录信息", notes = "列表查询机械设备类别绑定目录信息", httpMethod = "GET") @GetMapping(value = "/list") - public Result> queryList(@ApiIgnore @RequestParam HashMap param) { + public Result> queryList(@Parameter(hidden = true) @RequestParam HashMap param) { return Result.success(machineDeviceTypeCatalogService.queryList(param)); } @@ -111,7 +111,7 @@ public class MachineDeviceTypeCatalogController { @ApiOperation(value = "删除机械设备类别绑定目录信息", notes = "删除机械设备类别绑定目录信息", httpMethod = "POST") @ApiImplicitParam(name = "id", value = "机械设备类别绑定目录ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}") @PostMapping(value = "/delete") - public Result delete(@ApiIgnore @RequestBody HashMap map) { + public Result delete(@Parameter(hidden = true) @RequestBody HashMap map) { machineDeviceTypeCatalogService.delete(MapUtils.getString(map, "id")); return Result.ok(); } diff --git a/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceTypeController.java b/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceTypeController.java index d4fe67612..bdf4dc049 100644 --- a/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceTypeController.java +++ b/src/main/java/com/zhgd/xmgl/modules/machinedevice/controller/MachineDeviceTypeController.java @@ -19,7 +19,7 @@ import org.simpleframework.xml.core.Validate; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Lazy; import org.springframework.web.bind.annotation.*; -import springfox.documentation.annotations.ApiIgnore; +import io.swagger.v3.oas.annotations.Parameter; import java.util.HashMap; import java.util.List; @@ -53,7 +53,7 @@ public class MachineDeviceTypeController { @ApiImplicitParam(name = "projectSn", value = "项目sn", paramType = "query", required = false, dataType = "Integer"), }) @GetMapping(value = "/page") - public Result> queryPageList(@ApiIgnore @RequestParam HashMap param) { + public Result> queryPageList(@Parameter(hidden = true) @RequestParam HashMap param) { MapUtil.putHeadquarterSnByProjectSn(param, "sn"); return Result.success(machineDeviceTypeService.queryPageList(param)); } @@ -65,7 +65,7 @@ public class MachineDeviceTypeController { @OperLog(operModul = "机械设备分类管理", operType = "列表查询", operDesc = "列表查询机械设备分类信息") @ApiOperation(value = "列表查询机械设备分类信息", notes = "列表查询机械设备分类信息", httpMethod="GET") @GetMapping(value = "/list") - public Result> queryList(@ApiIgnore @RequestParam HashMap param) { + public Result> queryList(@Parameter(hidden = true) @RequestParam HashMap param) { return Result.success(machineDeviceTypeService.queryList(param)); } @@ -103,7 +103,7 @@ public class MachineDeviceTypeController { @ApiOperation(value = "删除机械设备分类信息", notes = "删除机械设备分类信息" , httpMethod="POST") @ApiImplicitParam(name = "id", value = "机械设备分类ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}") @PostMapping(value = "/delete") - public Result delete(@ApiIgnore @RequestBody HashMap map) { + public Result delete(@Parameter(hidden = true) @RequestBody HashMap map) { machineDeviceTypeService.delete(MapUtils.getString(map, "id")); return Result.ok(); } @@ -126,7 +126,7 @@ public class MachineDeviceTypeController { @ApiImplicitParam(name = "sn", value = "总公司sn", paramType = "body", required = true, dataType = "String"), }) @GetMapping(value = "tree/list") - public Result treeList(@ApiIgnore @RequestParam HashMap paramMap) { + public Result treeList(@Parameter(hidden = true) @RequestParam HashMap paramMap) { return Result.success(machineDeviceTypeService.treeList(paramMap)); } }