From 876a1054cc1bc2ba211a718e925ca661fef42ee4 Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: Wed, 15 Apr 2026 10:46:17 +0800
Subject: [PATCH] 新增增加密码复杂度
---
expert-admin/src/main/java/com/gkhy/web/controller/bussiness/ProjectManagementController.java | 72 +++++++++++++++++++++++++++++-------
1 files changed, 58 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..aad4c0c 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"),
@@ -54,10 +53,20 @@
}
+ @ApiOperation(value = "导出专家数据")
+ //@PreAuthorize("@ss.hasPermi('system:management:list')")
+ @GetMapping("/selectProjectData")
+ public R<List<ProjectDataResp>> selectProjectData(ProjectManagement projectManagement)
+ {
+ return R.ok(projectManagementService.selectProjectData(projectManagement));
+ }
+
+
+
/**
* 获取项目管理详细信息
*/
- @PreAuthorize("@ss.hasPermi('system:management:query')")
+ // @PreAuthorize("@ss.hasPermi('system:management:query')")
@GetMapping(value = "/{id}")
@ApiOperation(value = "获取项目管理详细信息")
@ApiImplicitParams({
@@ -71,7 +80,7 @@
/**
* 新增项目管理
*/
- @PreAuthorize("@ss.hasPermi('system:management:add')")
+ // @PreAuthorize("@ss.hasPermi('system:management:add')")
@ApiOperation(value = "新增编辑项目管理")
@PostMapping("/saveProject")
@RepeatSubmit
@@ -83,7 +92,7 @@
/**
* 修改项目管理
*/
- @PreAuthorize("@ss.hasPermi('system:management:edit')")
+ //@PreAuthorize("@ss.hasPermi('system:management:edit')")
@ApiOperation(value = "项目专家选取保存-修改")
@PostMapping("/projectExpert")
@RepeatSubmit
@@ -93,7 +102,18 @@
return R.ok();
}
- @PreAuthorize("@ss.hasPermi('system:management:info')")
+ @ApiOperation(value = "项目生成审批单")
+ @PostMapping("/projectBuildCheck")
+ @RepeatSubmit
+ public R projectBuildCheck(@Validated @RequestBody ProjectExpertSaveBatchReqDto projectManagement)
+ {
+ projectManagementService.projectBuildCheck(projectManagement);
+ return R.ok();
+ }
+
+
+
+ //@PreAuthorize("@ss.hasPermi('system:management:info')")
@ApiOperation(value = "获取项目专家审批用(获取项目信息和专家数据)")
@GetMapping("/projectExpertCheckInfo")
@ApiImplicitParams({
@@ -104,7 +124,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 +134,7 @@
return R.ok();
}
- @PreAuthorize("@ss.hasPermi('system:management:edit')")
+ //@PreAuthorize("@ss.hasPermi('system:management:edit')")
@ApiOperation(value = "项目归档")
@PostMapping("/projectArchive")
@RepeatSubmit
@@ -127,7 +147,7 @@
/**
* 删除项目管理
*/
- @PreAuthorize("@ss.hasPermi('system:management:remove')")
+ //@PreAuthorize("@ss.hasPermi('system:management:remove')")
@DeleteMapping("/{ids}")
@ApiOperation(value = "删除项目管理")
@RepeatSubmit
@@ -141,7 +161,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 +175,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 +189,7 @@
return getDataTable(projectExpertEvaluationResps);
}
- @PreAuthorize("@ss.hasPermi('system:management:edit')")
+ //@PreAuthorize("@ss.hasPermi('system:management:edit')")
@ApiOperation(value = "事后考评——项目专家考评")
@PostMapping("/ProjectExpertDetailSave")
@RepeatSubmit
@@ -180,7 +200,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 +214,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")
@@ -203,6 +223,19 @@
{
return R.ok(projectManagementService.selectProjectExpertDetailList(projectExpertId));
}
+
+ @ApiOperation(value = "专家考评记录——专家考评详情")
+ //@PreAuthorize("@ss.hasPermi('system:management:list')")
+ @GetMapping("/selectProjectExpertDetail")
+ @ApiImplicitParams({
+ @ApiImplicitParam(paramType = "query", name = "projectExpertId", dataType = "long", required = true, value = "项目专家id"),
+ @ApiImplicitParam(paramType = "query", name = "expertType", dataType = "long", required = true, value = "专家类型1库内2库外")
+ })
+ public R<ProjectDetailResp> selectProjectExpertDetail(@RequestParam("projectExpertId") Long projectExpertId,@RequestParam("expertType") Long expertType)
+ {
+ return R.ok(projectManagementService.selectProjectExpertDetail(projectExpertId,expertType));
+ }
+
@GetMapping("/selectProjectFileList")
@ApiImplicitParams({
@@ -220,4 +253,15 @@
return R.ok(projectManagementService.getProjectNum());
}
+ @ApiOperation(value = "项目管理----导出专家报销")
+ //@PreAuthorize("@ss.hasPermi('system:management:list')")
+ @GetMapping("/projectExpertExportList")
+ @ApiImplicitParams({
+ @ApiImplicitParam(paramType = "query", name = "projectId", dataType = "long", required = true, value = "项目id")
+ })
+ public R<List<ProjectExpertExportInfoRes>> projectExpertExportList(@RequestParam("projectId") Long projectId)
+ {
+ return R.ok(projectManagementService.projectExpertExportList(projectId));
+ }
+
}
--
Gitblit v1.9.2