| | |
| | | package com.ruoyi.device.service; |
| | | |
| | | import com.ruoyi.device.pojo.DeviceMaintenanceFile; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.device.pojo.DeviceMaintenanceFile; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import java.io.IOException; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | */ |
| | | public interface DeviceMaintenanceFileService extends IService<DeviceMaintenanceFile> { |
| | | |
| | | DeviceMaintenanceFile uploadFile(MultipartFile file, Integer deviceMaintenanceId) throws IOException; |
| | | |
| | | DeviceMaintenanceFile bindFromTemp(String tempId, Integer deviceMaintenanceId, String name) throws IOException; |
| | | |
| | | DeviceMaintenanceFile saveRecord(DeviceMaintenanceFile deviceMaintenanceFile) throws IOException; |
| | | |
| | | void enrichAccessUrl(List<DeviceMaintenanceFile> files); |
| | | } |