“djh”
3 days ago c26e227abe288476c11b0a8b7875045e71efa14c
multi-admin/src/main/java/com/gkhy/exam/admin/controller/web/InternalAuditCheckController.java
@@ -35,10 +35,11 @@
            @ApiImplicitParam(paramType = "query", name = "pageNum", dataType = "int", required = false, value = "当前页,默认1"),
            @ApiImplicitParam(paramType = "query", name = "pageSize", dataType = "int", required = false, value = "每页数目,默认10"),
            @ApiImplicitParam(paramType = "query", name = "companyId", dataType = "int", required = false, value = "公司id"),
            @ApiImplicitParam(paramType = "query", name = "year", dataType = "String" , required = false, value = "年份")
    })
    @GetMapping("/selectInternalAuditCheckList")
    public CommonResult selectInternalAuditCheckList(Integer companyId){
        return CommonResult.success(internalAuditCheckService.selectInternalAuditCheckList(companyId));
    public CommonResult selectInternalAuditCheckList(Integer companyId, String year){
        return CommonResult.success(internalAuditCheckService.selectInternalAuditCheckList(companyId,year));
    }
    @RepeatSubmit
    @ApiOperation(value = "新增内审检查")
@@ -60,6 +61,21 @@
        return internalAuditCheckService.deletedInternalAuditCheck(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("/copyInternalAuditCheck")
    public CommonResult copyInternalAuditCheck(
            @RequestParam(required = false) Integer companyId,
            @RequestParam String sourceYear,
            @RequestParam String targetYear) {
        return internalAuditCheckService.copyInternalAuditCheck(companyId, sourceYear, targetYear);
    }
//    @ApiOperation(value = "内审检查详情")
//    @ApiImplicitParams({
//            @ApiImplicitParam(paramType = "query", name = "id", dataType = "int", required = true, value = "id"),