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 |   28 +++++++++++++++++++++++++---
 1 files changed, 25 insertions(+), 3 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 3428cb3..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 = "获取项目专家审批用(获取项目信息和专家数据)")
@@ -207,11 +228,12 @@
     //@PreAuthorize("@ss.hasPermi('system:management:list')")
     @GetMapping("/selectProjectExpertDetail")
     @ApiImplicitParams({
-            @ApiImplicitParam(paramType = "query", name = "projectExpertId", dataType = "long", required = true, value = "项目专家id")
+            @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)
+    public R<ProjectDetailResp> selectProjectExpertDetail(@RequestParam("projectExpertId") Long projectExpertId,@RequestParam("expertType") Long expertType)
     {
-        return R.ok(projectManagementService.selectProjectExpertDetail(projectExpertId));
+        return R.ok(projectManagementService.selectProjectExpertDetail(projectExpertId,expertType));
     }
 
 

--
Gitblit v1.9.2