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
955 B
33 lines
955 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 CLOUD_FILM_URL;
|
|
public static final String MED_RECORD_COPY_URL;
|
|
public static final String XBD_PEIS;
|
|
public static OutTeamDao outTeamDao;
|
|
|
|
static {
|
|
ProperHelper config = new ProperHelper().read("xbd.properties");
|
|
|
|
CLOUD_FILM_URL = config.getString("xbd.200.cloud_film_url");
|
|
MED_RECORD_COPY_URL = config.getString("xbd.200.med_record_copy_url");
|
|
XBD_PEIS = config.getString("xbd.100.peis_url");
|
|
if (CLOUD_FILM_URL == null) {
|
|
log.error("新八达200团队配置文件读取失败");
|
|
}
|
|
outTeamDao = new OutTeamDao(CLOUD_FILM_URL);
|
|
}
|
|
|
|
|
|
}
|
|
|