heheng
3 天以前 f33cfe86447c16df8ca665e2e1a5f3333ff57792
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));
    }