heheng
2025-11-28 6d5fc7859473d30a2e4c1f20f748abae652342b8
multi-admin/src/main/java/com/gkhy/exam/admin/controller/web/ProcessInspectionController.java
@@ -30,12 +30,13 @@
    @ApiImplicitParams({
            @ApiImplicitParam(paramType = "query", name = "companyId", dataType = "int", required = false, value = "公司iD"),
            @ApiImplicitParam(paramType = "query", name = "type", dataType = "int", required = true, value = "类型1过程检验2最终检验"),
            @ApiImplicitParam(paramType = "query", name = "itemId", dataType = "int", required = false, value = "项目iD"),
            @ApiImplicitParam(paramType = "query", name = "pageNum", dataType = "int", required = true, value = "页码"),
            @ApiImplicitParam(paramType = "query", name = "pageSize", dataType = "int", required = true, value = "每页数量")
    })
    @GetMapping("/inspection/list")
    public CommonResult selectProcessInspectionList(Integer companyId, @RequestParam("type") Integer templateType){
        return CommonResult.success(processInspectionService.selectProcessInspectionList(companyId, templateType));
    public CommonResult selectProcessInspectionList(Integer companyId, @RequestParam("type") Integer templateType,Integer itemId){
        return CommonResult.success(processInspectionService.selectProcessInspectionList(companyId, templateType, itemId));
    }
    /**