| | |
| | | return managementPlanService.deletedManagementPlan(id); |
| | | } |
| | | |
| | | @RepeatSubmit |
| | | @ApiOperation(value = "一键复制管理审批计划") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", name = "companyId", dataType = "int", required = false, value = "公司id,不传则使用当前登录用户公司"), |
| | | @ApiImplicitParam(paramType = "query", name = "sourceYear", dataType = "String", required = true, value = "源年份"), |
| | | @ApiImplicitParam(paramType = "query", name = "targetYear", dataType = "String", required = true, value = "目标年份"), |
| | | }) |
| | | @GetMapping("/copyManagementPlan") |
| | | public CommonResult copyManagementPlan(@RequestParam(required = false) Integer companyId, @RequestParam String sourceYear, @RequestParam String targetYear) { |
| | | return managementPlanService.copyManagementPlan(companyId, sourceYear, targetYear); |
| | | } |
| | | |
| | | } |