From f33cfe86447c16df8ca665e2e1a5f3333ff57792 Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期三, 27 八月 2025 17:02:27 +0800 Subject: [PATCH] 版本改造 --- expert-admin/src/main/java/com/gkhy/web/controller/bussiness/ProjectManagementController.java | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 45 insertions(+), 0 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 b11a769..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 @@ -53,6 +53,16 @@ } + @ApiOperation(value = "导出专家数据") + //@PreAuthorize("@ss.hasPermi('system:management:list')") + @GetMapping("/selectProjectData") + public R<List<ProjectDataResp>> selectProjectData(ProjectManagement projectManagement) + { + return R.ok(projectManagementService.selectProjectData(projectManagement)); + } + + + /** * 获取项目管理详细信息 */ @@ -91,6 +101,17 @@ projectManagementService.updateProjectManagement(projectManagement); return R.ok(); } + + @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 = "获取项目专家审批用(获取项目信息和专家数据)") @@ -203,6 +224,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({ @ApiImplicitParam(paramType = "query", name = "projectId", dataType = "long", required = true, value = "项目id"), @@ -219,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