| | |
| | | return success(technicalFileService.createTechnicalFile(reqVO)); |
| | | } |
| | | |
| | | @DeleteMapping("/technical-file/delete") |
| | | @Operation(summary = "从物料移除技术文件") |
| | | @PreAuthorize("@ss.hasPermission('mdm:item:update')") |
| | | public CommonResult<Boolean> deleteTechnicalFile(@RequestParam("itemId") Long itemId, @RequestParam("id") Long id) { |
| | | technicalFileService.deleteTechnicalFile(itemId, id); |
| | | return success(true); |
| | | } |
| | | |
| | | @GetMapping("/technical-file/list") |
| | | @Operation(summary = "获得产品技术文件历史") |
| | | public CommonResult<List<MdmItemTechnicalFileRespVO>> getTechnicalFileList(@RequestParam("itemId") Long itemId) { |