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.
		
		
		
		
			
				
					
					
						
							28 lines
						
					
					
						
							894 B
						
					
					
				
			
		
		
	
	
							28 lines
						
					
					
						
							894 B
						
					
					
				package com.ynxbd.common.helper.xbd;
 | 
						|
 | 
						|
import com.ynxbd.common.dao.xbd.OutTeamDao;
 | 
						|
import com.ynxbd.common.helper.ProperHelper;
 | 
						|
import lombok.extern.slf4j.Slf4j;
 | 
						|
 | 
						|
/**
 | 
						|
 * @author 李进才
 | 
						|
 * @ClassName XBDHelper
 | 
						|
 * @Description description
 | 
						|
 * @date 2023/3/30 17:02
 | 
						|
 */
 | 
						|
@Slf4j
 | 
						|
public class XBDHelper {
 | 
						|
    private static final String OUT_TEAM_CLOUD_FILM;
 | 
						|
    public static final String MEDICAL_RECORD_REMAKE_URL;
 | 
						|
    public static OutTeamDao outTeamDao;
 | 
						|
 | 
						|
    static {
 | 
						|
        ProperHelper config = new ProperHelper().read("xbd.properties");
 | 
						|
        OUT_TEAM_CLOUD_FILM = config.getString("xbd.out_team_cloud_film_link");
 | 
						|
        MEDICAL_RECORD_REMAKE_URL = config.getString("xbd.medical_record_remake_url");
 | 
						|
        if(OUT_TEAM_CLOUD_FILM ==null){
 | 
						|
            log.error("新八达内部团队配置文件读取失败");
 | 
						|
        }
 | 
						|
        outTeamDao = new OutTeamDao(OUT_TEAM_CLOUD_FILM);
 | 
						|
    }
 | 
						|
}
 | 
						|
 |