From e14233c2322b0d21f3a4cbec1a29f7f00c63b298 Mon Sep 17 00:00:00 2001
From: zhubaomin <zhubaomin>
Date: 星期四, 31 十月 2024 14:25:17 +0800
Subject: [PATCH] 2024-10-31 删除部分废弃代码(Feedback)
---
pipIrr-platform/pipIrr-web/pipIrr-web-file/src/main/java/com/dy/pipIrrWebFile/fm/FmCtrl.java | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-file/src/main/java/com/dy/pipIrrWebFile/fm/FmCtrl.java b/pipIrr-platform/pipIrr-web/pipIrr-web-file/src/main/java/com/dy/pipIrrWebFile/fm/FmCtrl.java
index 68b27e5..64d7d15 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-file/src/main/java/com/dy/pipIrrWebFile/fm/FmCtrl.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-file/src/main/java/com/dy/pipIrrWebFile/fm/FmCtrl.java
@@ -10,7 +10,7 @@
import java.util.List;
/**
- * 鍗曠偣鐧诲綍锛�
+ * 鍒嗗竷寮弚eb鏂囦欢绯荤粺绠$悊绯荤粺
*/
@Slf4j
@RestController
@@ -129,5 +129,21 @@
return rvo ;
}
+ /**
+ * 瑙f瀽鍝堝笇鍊奸泦鍚堬紝璁$畻鍑鸿杩欎簺鍝堝笇鍊煎搴旂殑鏂囦欢鏈嶅姟鍣ㄥ睘鎬�
+ * @param hashCodes
+ * @return 鏂囦欢鏈嶅姟鍣ㄥ睘鎬у璞¢泦鍚�
+ */
+ @PostMapping(path = "parseHashcodeList")
+ public FileRestVo[] parseHashcodeList(List<Integer> hashCodes){
+ List<FileRestVo> reList = new ArrayList<>() ;
+ if(hashCodes != null && hashCodes.size() > 0){
+ for(Integer hashCode : hashCodes){
+ reList.add(parseHashcode(hashCode)) ;
+ }
+ }
+ return reList.toArray(new FileRestVo[0]) ;
+ }
+
}
--
Gitblit v1.8.0