From 9961fd3e734552a21a30c12cea39ebf3ff57227f Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期二, 20 五月 2025 09:41:08 +0800 Subject: [PATCH] 测评接口 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TInspectionReportController.java | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TInspectionReportController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TInspectionReportController.java index 629df25..48647b2 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TInspectionReportController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TInspectionReportController.java @@ -48,8 +48,8 @@ /** * 获取检验报告管理列表 */ - @PreAuthorize("@ss.hasPermi('system:inspectionReport:list')") - @ApiOperation(value = "获取检验报告分页列表") + //@PreAuthorize("@ss.hasPermi('system:inspectionReport:list')") + @ApiOperation(value = "获取检验报告分页列表", response = TInspectionReportQuery.class) @PostMapping(value = "/api/t-inspection-report/pageList") public R<PageInfo<TInspectionReportVO>> pageList(@RequestBody String param) { TInspectionReportQuery query = JSON.parseObject(param, TInspectionReportQuery.class); @@ -59,7 +59,7 @@ /** * 添加检验报告管理 */ - @PreAuthorize("@ss.hasPermi('system:inspectionReport:add')") + //@PreAuthorize("@ss.hasPermi('system:inspectionReport:add')") @Log(title = "检验报告信息-新增检验报告", businessType = BusinessType.INSERT) @ApiOperation(value = "添加检验报告",response = TInspectionReportDTO.class) @PostMapping(value = "/api/t-inspection-report/add") @@ -72,7 +72,7 @@ /** * 修改检验报告 */ - @PreAuthorize("@ss.hasPermi('system:inspectionReport:edit')") + //@PreAuthorize("@ss.hasPermi('system:inspectionReport:edit')") @Log(title = "检验报告信息-修改检验报告", businessType = BusinessType.UPDATE) @ApiOperation(value = "修改检验报告") @PostMapping(value = "/api/t-inspection-report/update") @@ -85,7 +85,7 @@ /** * 查看检验报告详情 */ - @PreAuthorize("@ss.hasPermi('system:inspectionReport:detail')") + //@PreAuthorize("@ss.hasPermi('system:inspectionReport:detail')") @ApiOperation(value = "查看检验报告详情") @GetMapping(value = "/open/t-inspection-report/getDetailById") public R<TInspectionReportVO> getDetailById(@RequestParam String id) { @@ -98,7 +98,7 @@ /** * 删除检验报告 */ - @PreAuthorize("@ss.hasPermi('system:inspectionReport:delete')") + //@PreAuthorize("@ss.hasPermi('system:inspectionReport:delete')") @Log(title = "检验报告信息-删除检验报告", businessType = BusinessType.DELETE) @ApiOperation(value = "删除检验报告") @DeleteMapping(value = "/open/t-inspection-report/deleteById") @@ -109,7 +109,7 @@ /** * 批量删除检验报告 */ - @PreAuthorize("@ss.hasPermi('system:inspectionReport:delete')") + //@PreAuthorize("@ss.hasPermi('system:inspectionReport:delete')") @Log(title = "检验报告信息-删除检验报告", businessType = BusinessType.DELETE) @ApiOperation(value = "批量删除检验报告") @DeleteMapping(value = "/open/t-inspection-report/deleteByIds") -- Gitblit v1.7.1