| | |
| | | @ValueClassify("标准库") |
| | | @ApiOperation(value = "修改标准库中的内容") |
| | | @PostMapping("/upStandardProductList") |
| | | public Result upStandardProductList(@RequestBody StandardProductList list){ |
| | | public Result upStandardProductList(String str){ |
| | | StandardProductList list = JSON.parseObject(str, StandardProductList.class); |
| | | return Result.success(standardProductListService.upStandardProductList(list)); |
| | | } |
| | | @ValueAuth |
| | |
| | | } |
| | | |
| | | @ValueAuth |
| | | @GetMapping("/getStandTreeBySampleType") |
| | | @PostMapping("/getStandTreeBySampleType") |
| | | @ApiModelProperty("仅获取光纤的型号") |
| | | public Result<?> getStandTreeBySampleType(){ |
| | | return Result.success(standardTreeService.getStandTreeBySampleType()); |
| | | public Result<?> getStandTreeBySampleType(String laboratory, String sampleType){ |
| | | return Result.success(standardTreeService.getStandTreeBySampleType(laboratory, sampleType)); |
| | | } |
| | | } |