| | |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | @Api(tags = "环境需求风险管理") |
| | |
| | | */ |
| | | @ApiOperation(value = "内外部环境要素控制删除") |
| | | @GetMapping("/factor/control/deleted") |
| | | public CommonResult deletedFactorControl(@RequestParam("factorControlId") Integer factorControlId){ |
| | | return factorControlService.deletedFactorControl(factorControlId); |
| | | public CommonResult deletedFactorControl(@RequestParam("factorControlId") Integer factorControlId,@RequestParam("factorDiscrenId") Integer factorDiscrenId){ |
| | | return factorControlService.deletedFactorControl(factorControlId,factorDiscrenId); |
| | | } |
| | | |
| | | /** |
| | |
| | | } |
| | | |
| | | |
| | | @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); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 相关方需求识别新增 |
| | | * @param expectDiscren |