From c00662a72ca1582c064a2bd76aa92fd22fbfedc6 Mon Sep 17 00:00:00 2001
From: rain <167982779@qq.com>
Date: Thu, 30 May 2024 13:53:07 +0800
Subject: [PATCH] 修改水印部分信息,添加图斑图片审核,大屏图斑图片添加水印
---
src/main/java/com/dji/sample/media/service/IFileService.java | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 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..32d1b09 100644
--- a/src/main/java/com/dji/sample/media/service/IFileService.java
+++ b/src/main/java/com/dji/sample/media/service/IFileService.java
@@ -20,6 +20,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 +29,32 @@
/**
* 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;
+
/**
* 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 +64,7 @@
/**
* Get the download address of the file.
+ *
* @param workspaceId
* @param fileId
* @return
@@ -62,6 +73,7 @@
/**
* Query all media files of a job.
+ *
* @param workspaceId
* @param jobId
* @return
@@ -70,11 +82,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