| | |
| | | |
| | | import com.gkhy.exam.common.api.CommonResult; |
| | | import com.gkhy.exam.system.domain.*; |
| | | import com.gkhy.exam.system.domain.req.CopyReq; |
| | | import com.gkhy.exam.system.service.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | |
| | | return factorControlService.deletedFactorControl(factorControlId,factorDiscrenId); |
| | | } |
| | | |
| | | @ApiOperation(value = "内外部环境要素识别复制") |
| | | @PostMapping("/factor/discern/copy") |
| | | public CommonResult copyFactorDiscern(@RequestBody CopyReq copyReq){ |
| | | return factorDiscernService.copyFactorDiscern(copyReq); |
| | | } |
| | | |
| | | /** |
| | | * 相关方需求识别 |
| | | * @param expectDiscren |
| | |
| | | @GetMapping("/expect/discren/listAll") |
| | | public CommonResult selectExpectDiscrenListAll(ExpectDiscren expectDiscren){ |
| | | return expectDiscrenService.selectExpectDiscrenListAll(expectDiscren); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "相关方需求和期望识别~评价复制") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", name = "companyId", dataType = "long", required = false, value = "公司id"), |
| | | @ApiImplicitParam(paramType = "query", name = "sourceYear", dataType = "String", required = true, value = "资源年份"), |
| | | @ApiImplicitParam(paramType = "query", name = "sourceMonth", dataType = "targetYear", required = true, value = "目标年份"), |
| | | }) |
| | | @GetMapping("/expect/discren/copyExpectDiscren") |
| | | public CommonResult copyExpectDiscren(Long companyId,@RequestParam("sourceYear") String sourceYear, @RequestParam("targetYear")String targetYear){ |
| | | return expectDiscrenService.copyExpectDiscren(companyId,sourceYear,targetYear); |
| | | } |
| | | |
| | | |
| | |
| | | return riskMonitorService.deletedRiskMonitor(riskMonitorId); |
| | | } |
| | | |
| | | @ApiOperation(value = "风险管理复制") |
| | | @PostMapping("/risk/manage/copy") |
| | | public CommonResult copyRiskMonitor(@RequestBody CopyReq copyReq){ |
| | | return riskManageService.copyRiskMonitor(copyReq); |
| | | } |
| | | |
| | | } |