“djh”
5 days ago b0be631d7800b2a35c4dfeb9332877946e361829
multi-admin/src/main/java/com/gkhy/exam/admin/controller/web/ProcessInspectionController.java
@@ -2,7 +2,6 @@
import com.gkhy.exam.common.api.CommonResult;
import com.gkhy.exam.system.domain.ProcessInspection;
import com.gkhy.exam.system.domain.StandardizedTemplate;
import com.gkhy.exam.system.service.ProcessInspectionService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
@@ -30,12 +29,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));
    }
    /**