| | |
| | | import com.ruoyi.device.dto.DeviceMaintenancePlanDetailsDto; |
| | | import com.ruoyi.device.dto.DeviceMaintenancePlanDto; |
| | | import com.ruoyi.device.pojo.Device; |
| | | import com.ruoyi.device.pojo.DeviceMaintenanceAttachment; |
| | | import com.ruoyi.device.pojo.DeviceMaintenancePlan; |
| | | import com.ruoyi.device.pojo.DeviceMaintenancePlanDetails; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import jakarta.servlet.http.HttpServletResponse; |
| | | import java.time.LocalDate; |
| | |
| | | * 删除设备保养计划详情;已出审核结果的记录随历史留档,未审核的记录随明细一起删除 |
| | | */ |
| | | boolean removeMaintenancePlanDetail(Integer maintenancePlanDetailId); |
| | | |
| | | /** |
| | | * 查询计划明细附件列表 |
| | | */ |
| | | List<DeviceMaintenanceAttachment> selectAttachments(Integer maintenancePlanDetailId); |
| | | |
| | | /** |
| | | * 上传计划明细附件 |
| | | */ |
| | | DeviceMaintenanceAttachment uploadAttachment(Integer maintenancePlanDetailId, MultipartFile file); |
| | | |
| | | /** |
| | | * 删除计划明细附件 |
| | | */ |
| | | boolean deleteAttachment(Long id); |
| | | } |