From eb5a6e5a54efa997971beffc909bcadc06dc8886 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期一, 21 四月 2025 10:45:16 +0800
Subject: [PATCH] 1、江海测试系统设备类型默认为阀; 2、完善通信中间件测试消息推送代码; 3、增加队列数据结构注释; 4、121服务器相关的初始化配置文件bug修改; 5、其他注释完善。

---
 pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/dyFile/FileOperate.java |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/dyFile/FileOperate.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/dyFile/FileOperate.java
index 08fed09..5d00701 100644
--- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/dyFile/FileOperate.java
+++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/dyFile/FileOperate.java
@@ -79,44 +79,44 @@
 
 	/**
 	 * 閫氳繃鐓х墖璺緞锛屽緱鍒板搴旂缉鐣ュ浘鐨勮矾寰�
-	 * @param imgPath
+	 * @param filePath
 	 * @return
 	 */
-	public String getImgFileZipPath(String imgPath){
+	public String getFileZipPath(String filePath){
 		String path_ = null ;
 		String prePath = null ;
 		String tailPath = null ;
-		if(imgPath != null && !imgPath.trim().equals("")) {
-			int lastDotIndex = imgPath.lastIndexOf('.');
+		if(filePath != null && !filePath.trim().equals("")) {
+			int lastDotIndex = filePath.lastIndexOf('.');
 			if (lastDotIndex >= 0) {
-				prePath = imgPath.substring(0, lastDotIndex);
-				tailPath = imgPath.substring(lastDotIndex);
+				prePath = filePath.substring(0, lastDotIndex);
+				tailPath = filePath.substring(lastDotIndex);
 				path_ = prePath + "_" + tailPath ;
 			}
 		}
 		if(path_ == null){
-			path_ = imgPath ;
+			path_ = filePath;
 		}
 		return path_ ;
 	}
 
 	/**
 	 * 閫氳繃瑙嗛璺緞锛屽緱鍒板搴旂缉鐣ュ浘鐨勮矾寰�
-	 * @param videoPath
+	 * @param filePath
 	 * @return
 	 */
-	public String getVideoFileZipPath(String videoPath, String extName){
+	public String getFileZipPath(String filePath, String extName){
 		String path_ = null ;
 		String prePath = null ;
-		if(videoPath != null && !videoPath.trim().equals("")) {
-			int lastDotIndex = videoPath.lastIndexOf('.');
+		if(filePath != null && !filePath.trim().equals("")) {
+			int lastDotIndex = filePath.lastIndexOf('.');
 			if (lastDotIndex >= 0) {
-				prePath = videoPath.substring(0, lastDotIndex);
+				prePath = filePath.substring(0, lastDotIndex);
 				path_ = prePath + "_." + extName ;
 			}
 		}
 		if(path_ == null){
-			path_ = videoPath ;
+			path_ = filePath;
 		}
 		return path_ ;
 	}

--
Gitblit v1.8.0