From c9d2e60f7d1a5cfe9e5b2da93af4d9edeecf5577 Mon Sep 17 00:00:00 2001
From: heheng <heheng@123456>
Date: 星期二, 26 十一月 2024 16:04:21 +0800
Subject: [PATCH] 部分修改

---
 expert-admin/src/main/java/com/gkhy/web/controller/bussiness/ProjectManagementController.java |   27 +++++++++++++--------------
 1 files changed, 13 insertions(+), 14 deletions(-)

diff --git a/expert-admin/src/main/java/com/gkhy/web/controller/bussiness/ProjectManagementController.java b/expert-admin/src/main/java/com/gkhy/web/controller/bussiness/ProjectManagementController.java
index bd5341e..b11a769 100644
--- a/expert-admin/src/main/java/com/gkhy/web/controller/bussiness/ProjectManagementController.java
+++ b/expert-admin/src/main/java/com/gkhy/web/controller/bussiness/ProjectManagementController.java
@@ -16,7 +16,6 @@
 import io.swagger.annotations.ApiImplicitParams;
 import io.swagger.annotations.ApiOperation;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.security.access.prepost.PreAuthorize;
 import org.springframework.validation.annotation.Validated;
 import org.springframework.web.bind.annotation.*;
 
@@ -40,7 +39,7 @@
      * 查询项目管理列表
      */
     @ApiOperation(value = "查询项目管理列表(分页)")
-    @PreAuthorize("@ss.hasPermi('system:management:list')")
+    //@PreAuthorize("@ss.hasPermi('system:management:list')")
     @GetMapping("/list")
     @ApiImplicitParams({
             @ApiImplicitParam(paramType = "query", name = "pageNum", dataType = "int", required = false, value = "当前页,默认1"),
@@ -57,7 +56,7 @@
     /**
      * 获取项目管理详细信息
      */
-    @PreAuthorize("@ss.hasPermi('system:management:query')")
+    // @PreAuthorize("@ss.hasPermi('system:management:query')")
     @GetMapping(value = "/{id}")
     @ApiOperation(value = "获取项目管理详细信息")
     @ApiImplicitParams({
@@ -71,7 +70,7 @@
     /**
      * 新增项目管理
      */
-    @PreAuthorize("@ss.hasPermi('system:management:add')")
+    // @PreAuthorize("@ss.hasPermi('system:management:add')")
     @ApiOperation(value = "新增编辑项目管理")
     @PostMapping("/saveProject")
     @RepeatSubmit
@@ -83,7 +82,7 @@
     /**
      * 修改项目管理
      */
-    @PreAuthorize("@ss.hasPermi('system:management:edit')")
+    //@PreAuthorize("@ss.hasPermi('system:management:edit')")
     @ApiOperation(value = "项目专家选取保存-修改")
     @PostMapping("/projectExpert")
     @RepeatSubmit
@@ -93,7 +92,7 @@
         return R.ok();
     }
 
-    @PreAuthorize("@ss.hasPermi('system:management:info')")
+    //@PreAuthorize("@ss.hasPermi('system:management:info')")
     @ApiOperation(value = "获取项目专家审批用(获取项目信息和专家数据)")
     @GetMapping("/projectExpertCheckInfo")
     @ApiImplicitParams({
@@ -104,7 +103,7 @@
         return R.ok(projectManagementService.projectExpertCheckInfo(id));
     }
 
-    @PreAuthorize("@ss.hasPermi('system:management:edit')")
+    //@PreAuthorize("@ss.hasPermi('system:management:edit')")
     @ApiOperation(value = "项目专家审批")
     @PostMapping("/projectCheck")
     @RepeatSubmit
@@ -114,7 +113,7 @@
         return R.ok();
     }
 
-    @PreAuthorize("@ss.hasPermi('system:management:edit')")
+    //@PreAuthorize("@ss.hasPermi('system:management:edit')")
     @ApiOperation(value = "项目归档")
     @PostMapping("/projectArchive")
     @RepeatSubmit
@@ -127,7 +126,7 @@
     /**
      * 删除项目管理
      */
-    @PreAuthorize("@ss.hasPermi('system:management:remove')")
+    //@PreAuthorize("@ss.hasPermi('system:management:remove')")
 	@DeleteMapping("/{ids}")
     @ApiOperation(value = "删除项目管理")
     @RepeatSubmit
@@ -141,7 +140,7 @@
      * 事后考评列表
      */
     @ApiOperation(value = "事后考评——事后考评(分页)")
-    @PreAuthorize("@ss.hasPermi('system:management:list')")
+    //@PreAuthorize("@ss.hasPermi('system:management:list')")
     @GetMapping("/projectExpertList")
     @ApiImplicitParams({
             @ApiImplicitParam(paramType = "query", name = "pageNum", dataType = "int", required = false, value = "当前页,默认1"),
@@ -155,7 +154,7 @@
     }
 
     @ApiOperation(value = "事后考评——项目专家考评列表(分页)")
-    @PreAuthorize("@ss.hasPermi('system:management:list')")
+    //@PreAuthorize("@ss.hasPermi('system:management:list')")
     @GetMapping("/projectExpertEvaluationList")
     @ApiImplicitParams({
             @ApiImplicitParam(paramType = "query", name = "pageNum", dataType = "int", required = false, value = "当前页,默认1"),
@@ -169,7 +168,7 @@
         return getDataTable(projectExpertEvaluationResps);
     }
 
-    @PreAuthorize("@ss.hasPermi('system:management:edit')")
+    //@PreAuthorize("@ss.hasPermi('system:management:edit')")
     @ApiOperation(value = "事后考评——项目专家考评")
     @PostMapping("/ProjectExpertDetailSave")
     @RepeatSubmit
@@ -180,7 +179,7 @@
     }
 
     @ApiOperation(value = "专家考评记录——专家考评记录列表(分页)")
-    @PreAuthorize("@ss.hasPermi('system:management:list')")
+    //@PreAuthorize("@ss.hasPermi('system:management:list')")
     @GetMapping("/projectExpertEvaList")
     @ApiImplicitParams({
             @ApiImplicitParam(paramType = "query", name = "pageNum", dataType = "int", required = false, value = "当前页,默认1"),
@@ -194,7 +193,7 @@
     }
 
     @ApiOperation(value = "专家考评记录——专家考评记明细")
-    @PreAuthorize("@ss.hasPermi('system:management:list')")
+    //@PreAuthorize("@ss.hasPermi('system:management:list')")
     @GetMapping("/selectProjectExpertDetailList")
     @ApiImplicitParams({
             @ApiImplicitParam(paramType = "query", name = "projectExpertId", dataType = "long", required = true, value = "项目专家id")

--
Gitblit v1.9.2