| | |
| | | return Result.success(workShopService.addWorkShop(workShopDto)); |
| | | } |
| | | |
| | | @ApiOperation(value = "删除检验单模板") |
| | | @ApiOperation(value = "删除车间名称数据") |
| | | @DeleteMapping("/delWorkShop") |
| | | public Result<?> delWorkShop(Integer id) { |
| | | return Result.success(workShopService.delWorkShop(id)); |
| | |
| | | public Result<?> delFile(Integer id) { |
| | | return Result.success(workShopFileService.delFile(id)); |
| | | } |
| | | |
| | | @ApiOperation(value = "查询附件列表") |
| | | @GetMapping("/partFileList") |
| | | public Result partFileList(Page page,@RequestParam("partNo") String partNo) { |
| | | return Result.success(workShopFileService.partFileList(page,partNo)); |
| | | } |
| | | |
| | | @ApiOperation(value = "查询附件列表") |
| | | @GetMapping("/fileListById") |
| | | public Result fileListById(@RequestParam("workShopId") String workShopId) { |
| | | return Result.success(workShopFileService.fileListById(Integer.valueOf(workShopId))); |
| | | } |
| | | } |