| | |
| | | import io.swagger.annotations.*; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import java.util.Map; |
| | | |
| | |
| | | |
| | | @ValueAuth |
| | | @PostMapping("/getStandTreeBySampleType") |
| | | @ApiModelProperty("仅获取光纤的型号") |
| | | @ApiOperation("仅获取光纤的型号") |
| | | public Result<?> getStandTreeBySampleType(String laboratory, String sampleType){ |
| | | return Result.success(standardTreeService.getStandTreeBySampleType(laboratory, sampleType)); |
| | | } |
| | | |
| | | @ValueClassify("标准库") |
| | | @ApiOperation("导入标准库") |
| | | @PostMapping("/inExcelOfTree") |
| | | public Result inExcelOfTree(@RequestParam("file") MultipartFile file){ |
| | | standardTreeService.inExcelOfTree(file); |
| | | return Result.success(); |
| | | } |
| | | } |