| | |
| | | @ApiOperation(value = "导入标准查新") |
| | | @PostMapping("/importMethodSearchNew") |
| | | public Result importMethodSearchNew(MultipartFile file) { |
| | | return Result.success(processMethodSearchNewService.importMethodSearchNew(file)); |
| | | processMethodSearchNewService.importMethodSearchNew(file); |
| | | return Result.success(); |
| | | } |
| | | |
| | | /** |
| | |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "删除标准查新") |
| | | @DeleteMapping("/deleteById") |
| | | @GetMapping("/deleteById") |
| | | public Result deleteByMethodSearchNewId(@RequestParam("methodSearchNewId")Integer methodSearchNewId) { |
| | | processMethodSearchNewService.removeById(methodSearchNewId); |
| | | return Result.success("删除成功"); |