| | |
| | | @ApiImplicitParams(value = { |
| | | @ApiImplicitParam(name = "inspectionMaterialListId", value = "样品ID", dataTypeClass = Integer.class, required = true), |
| | | }) |
| | | @PostMapping("/selectInspectionMaterialListById") |
| | | public Result selectInspectionMaterialListById(int inspectionMaterialListId) throws Exception { |
| | | @PutMapping("/selectInspectionMaterialListById/{inspectionMaterialListId}") |
| | | public Result selectInspectionMaterialListById(@PathVariable Integer inspectionMaterialListId) { |
| | | return Result.success(inspectionMaterialListService.getById(inspectionMaterialListId)); |
| | | } |
| | | |
| | |
| | | @ApiImplicitParam(name = "inspectionMaterialListId", value = "样品ID", dataTypeClass = Integer.class, required = true), |
| | | }) |
| | | @PutMapping("/updateInspectionMaterialList/{inspectionMaterialListId}") |
| | | public Result updateInspectionMaterialList(@PathVariable Integer inspectionMaterialListId, @RequestBody InspectionMaterialList inspectionMaterialList) throws Exception { |
| | | public Result updateInspectionMaterialList(@PathVariable Integer inspectionMaterialListId, @RequestBody InspectionMaterialList inspectionMaterialList) { |
| | | return Result.success(inspectionMaterialListService.updateInspectionMaterialList(inspectionMaterialListId,inspectionMaterialList)); |
| | | } |
| | | |