| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.IOException; |
| | | import java.util.Map; |
| | | |
| | | @RestController |
| | |
| | | @ApiOperation(value = "获取标准树(检验下单)") |
| | | @GetMapping("/selectStandardTreeList2") |
| | | public Result selectStandardTreeList2() { |
| | | return Result.success(standardTreeService.selectStandardTreeList()); |
| | | return Result.success(standardTreeService.selectStandardTreeList2()); |
| | | } |
| | | |
| | | @ValueClassify("标准库") |
| | |
| | | return Result.success(); |
| | | } |
| | | |
| | | @ValueClassify("标准库") |
| | | @ApiOperation("导出标准库") |
| | | @GetMapping("/exportStandTree") |
| | | public void exportStandTree(HttpServletResponse response) throws IOException { |
| | | standardTreeService.exportStandTree(response); |
| | | } |
| | | |
| | | @ValueAuth |
| | | @ApiOperation("重置标准库单价") |
| | | @PostMapping("/resetTreeOfPrice") |