You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					
					
						
							33 lines
						
					
					
						
							962 B
						
					
					
				
			
		
		
	
	
							33 lines
						
					
					
						
							962 B
						
					
					
				| package com.ynxbd.common.helper.pacs;
 | |
| 
 | |
| import com.ynxbd.common.config.db.PacsDB;
 | |
| import com.ynxbd.common.dao.pacs.RISPacsDao;
 | |
| import com.ynxbd.common.helper.ProperHelper;
 | |
| import com.ynxbd.common.helper.common.FtpHelper;
 | |
| import com.ynxbd.common.helper.common.SmbHelper;
 | |
| import lombok.extern.slf4j.Slf4j;
 | |
| 
 | |
| /**
 | |
|  * @author 李进才
 | |
|  * @ClassName RISPacsHelper
 | |
|  * @Description description
 | |
|  * @date 2023/3/21 16:39
 | |
|  */
 | |
| @Slf4j
 | |
| public class RISPacsHelper {
 | |
|     private static final String FTP_USER;
 | |
|     private static final String FTP_PASS;
 | |
|     public static SmbHelper smbHelper;
 | |
|     static {
 | |
|         ProperHelper config = new ProperHelper().read("pacs.properties");
 | |
|         FTP_USER = config.getString("ris.ftpUser");
 | |
|         FTP_PASS = config.getString("ris.ftpPass");
 | |
|         if(FTP_USER ==null){
 | |
|             log.error("上海岱嘉PACS配置文件读取失败");
 | |
|         }
 | |
|         else {
 | |
|             smbHelper = new SmbHelper(FTP_USER,FTP_PASS);
 | |
|         }
 | |
|     }
 | |
| 
 | |
| }
 | |
| 
 |