Fancy
2025-01-04 0760c4667043820b39add1d0c30910e57f4dc753
pms-parent/pms-web-other/src/main/java/com/dy/pmsOther/dyFm/DyFileSvConf.java
@@ -51,7 +51,7 @@
      public String fileSysRelativePath; //文件名称的哈希值对应的文件最终存储相对路径的目录,在配置文件中配置
      public String restUrl;//文件系统路径
      public String webUrl ;//下载文档的web路径
      public String webDownloadUrl ;//Action下载文档的web路径
      public String webDownloadPath ;//下载文档的Controller的相对路径
      public Integer hashStart ;//哈希值启始值(包含)
      public Integer hashEnd ;//哈希值截止值(包含)
   
@@ -61,7 +61,7 @@
            String fileSysBasePath,
            String restUrl,
            String webUrl,
            String webDownloadUrl,
            String webDownloadPath,
            Integer hashStart,
            Integer hashEnd)throws Exception{
         this.id = id ;
@@ -69,7 +69,7 @@
         this.fileSysRelativePath = fileSysBasePath ;
         this.restUrl = restUrl ;
         this.webUrl = webUrl ;
         this.webDownloadUrl = webDownloadUrl ;
         this.webDownloadPath = webDownloadPath ;
         this.hashStart = hashStart ;
         this.hashEnd = hashEnd ;
         if(this.id == null || this.id.trim().equals("")){
@@ -99,8 +99,8 @@
               this.webUrl += "/" ;
            }
         }
         if(this.webDownloadUrl == null || this.webDownloadUrl.trim().equals("")){
            throw new Exception("出错,webDownloadUrl为空了!") ;
         if(this.webDownloadPath == null || this.webDownloadPath.trim().equals("")){
            throw new Exception("出错,webDownloadPath!") ;
         }
         if(this.hashStart == null){
@@ -127,7 +127,7 @@
               + "fileSysBasePath=" + fileSysRelativePath + "\n"
               + "restUrl=" + restUrl + "\n"
               + "webUrl=" + webUrl + "\n" 
               + "webDownloadUrl=" + webDownloadUrl + "\n"
               + "webDownloadPath=" + webDownloadPath + "\n"
               + "hashStart=" + hashStart + "\n" 
               + "hashEnd=" + hashEnd ;
      }