| | |
| | | package com.gkhy.exam.admin.controller.web; |
| | | |
| | | import com.gkhy.exam.common.annotation.RepeatSubmit; |
| | | import com.gkhy.exam.common.api.CommonResult; |
| | | import com.gkhy.exam.system.domain.*; |
| | | import com.gkhy.exam.system.service.*; |
| | |
| | | @GetMapping("/plan/deleted") |
| | | public CommonResult deletedQuality(@RequestParam("planId") Integer planId){ |
| | | return planService.deletedPlan(planId); |
| | | } |
| | | |
| | | @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("/plan/copy") |
| | | public CommonResult copyInternalAuditPlan( |
| | | @RequestParam(required = false) Integer companyId, |
| | | @RequestParam String sourceYear, |
| | | @RequestParam String targetYear) { |
| | | return planService.copyInternalAuditPlan(companyId, sourceYear, targetYear); |
| | | } |
| | | |
| | | |
| | |
| | | return carryService.deletedCarry(carryId); |
| | | } |
| | | |
| | | @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("/carry/copy") |
| | | public CommonResult copyInternalAuditCarry( |
| | | @RequestParam(required = false) Integer companyId, |
| | | @RequestParam String sourceYear, |
| | | @RequestParam String targetYear) { |
| | | return carryService.copyInternalAuditCarry(companyId, sourceYear, targetYear); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |