package com.ruoyi.device.service;
|
|
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>
|
* 设备保养附件 服务类
|
* </p>
|
*
|
* @author 芯导软件(江苏)有限公司
|
* @since 2026-01-27 09:48:09
|
*/
|
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);
|
}
|