package com.ruoyi.production.controller; import com.ruoyi.framework.web.domain.AjaxResult; import com.ruoyi.production.service.IProductionProductRouteItemFileService; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** *

* 生产报工记录的工序附件表 前端控制器 *

* * @author deslrey * @since 2026-03-23 */ @RestController @RequestMapping("/productionProductRouteItemFile") public class ProductionProductRouteItemFileController { @Autowired private IProductionProductRouteItemFileService productionProductRouteItemFileService; @DeleteMapping("/{fileId}") @ApiOperation("生产报工-删除附件") public AjaxResult deleteFile(@PathVariable Long fileId) { productionProductRouteItemFileService.deleteFile(fileId); return AjaxResult.success(); } }