| | |
| | | @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)); |
| | | } |
| | | |
| | | /** |