From bb3652e04f5a66172d0a6cd6ec2535b82e7ca2ed Mon Sep 17 00:00:00 2001
From: rain <167982779@qq.com>
Date: Tue, 04 Jun 2024 17:19:51 +0800
Subject: [PATCH] 修改航线查询、添加方法,图斑查询方法。

---
 src/main/java/com/dji/sample/media/service/IFileService.java |   21 ++++++++++++++++++---
 1 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/dji/sample/media/service/IFileService.java b/src/main/java/com/dji/sample/media/service/IFileService.java
index c315720..911a395 100644
--- a/src/main/java/com/dji/sample/media/service/IFileService.java
+++ b/src/main/java/com/dji/sample/media/service/IFileService.java
@@ -5,6 +5,7 @@
 import com.dji.sample.media.model.MediaFileDTO;
 import com.dji.sample.media.model.MediaFileEntity;
 import com.dji.sample.media.model.MediaFileQueryParam;
+import com.drew.imaging.ImageProcessingException;
 
 import java.awt.*;
 import java.io.IOException;
@@ -20,6 +21,7 @@
 
     /**
      * Query if the file already exists based on the workspace id and the fingerprint of the file.
+     *
      * @param workspaceId
      * @param fingerprint
      * @return
@@ -28,23 +30,33 @@
 
     /**
      * Save the basic information of the file to the database.
+     *
      * @param workspaceId
      * @param file
      * @return
      */
     Integer saveFile(String workspaceId, FileUploadDTO file);
-    Integer saveMarkFile(String workspaceId, FileUploadDTO file) throws IOException, FontFormatException;
+
+    Integer saveMarkFile(String workspaceId, FileUploadDTO file) throws IOException, FontFormatException, ImageProcessingException;
+
+    Object mediaInfo(String fileId);
     /**
      * Query information about all files in this workspace based on the workspace id.
+     *
      * @param workspaceId
      * @return
      */
     List<MediaFileDTO> getAllFilesByWorkspaceId(String workspaceId);
 
+    List<MediaFileEntity> listByIsadd();
+
+    int updateExamByFileId(String fileId);
+
     List<MediaFileEntity> listMediaFileEntity(String workspaceId, String jobId);
 
     /**
      * Paginate through all media files in this workspace.
+     *
      * @param workspaceId
      * @param page
      * @param pageSize
@@ -54,6 +66,7 @@
 
     /**
      * Get the download address of the file.
+     *
      * @param workspaceId
      * @param fileId
      * @return
@@ -62,6 +75,7 @@
 
     /**
      * Query all media files of a job.
+     *
      * @param workspaceId
      * @param jobId
      * @return
@@ -70,11 +84,12 @@
 
     /**
      * 更新文件
-     * @param workspaceId 项目id
+     *
+     * @param workspaceId     项目id
      * @param mediaFileEntity
      * @return
      */
     Boolean updateMediaFile(String workspaceId, MediaFileEntity mediaFileEntity);
 
-    int  deleteMedia(String workspaceId, String fileId);
+    int deleteMedia(String workspaceId, String fileId);
 }

--
Gitblit v1.9.3