aix
2024-08-08 39ffdf5754b4ebca682bd3c925f7a500e8a1bbda
src/main/java/com/dji/sample/media/service/IMediaService.java
@@ -5,6 +5,7 @@
import com.dji.sample.media.model.MediaJobDTO;
import com.dji.sample.media.model.param.SearchMediaParam;
import com.dji.sample.wayline.model.dto.WaylineJobDTO;
import com.drew.imaging.ImageProcessingException;
import org.springframework.web.bind.annotation.RequestParam;
import java.awt.*;
@@ -20,6 +21,7 @@
    /**
     * Check if the file has been uploaded by the fingerprint.
     *
     * @param workspaceId
     * @param fingerprint
     * @return
@@ -28,16 +30,17 @@
    /**
     * Save the basic information of the file to the database.
     *
     * @param workspaceId
     * @param file
     * @return
     */
    Integer saveMediaFile(String workspaceId, FileUploadDTO file);
    Integer saveMediaFile(String workspaceId, FileUploadDTO file) throws ImageProcessingException, IOException;
    Integer saveMediaMarkFile(String workspaceId, FileUploadDTO file) throws IOException, FontFormatException;
    /**
     * Query tiny fingerprints about all files in this workspace based on the workspace id.
     *
     * @param workspaceId
     * @return
     */
@@ -45,6 +48,7 @@
    /**
     * Query the fingerprints that already exist in it based on the incoming tiny fingerprints data.
     *
     * @param workspaceId
     * @param tinyFingerprints
     * @return
@@ -53,5 +57,5 @@
    PaginationData<MediaJobDTO> mediaPage(String workspaceId, SearchMediaParam param);
    PaginationData<MediaJobDTO> mediaDetail(String jobId,Long page, Long pageSize);
    PaginationData<MediaJobDTO> mediaDetail(String jobId, Long page, Long pageSize);
}