dataBefore字段写入配置,:多少 个月前的数据

web_backend_develope
chenlw 9 years ago
parent 2dc04f00db
commit a76ad0c41b

@ -50,15 +50,27 @@ public class Configs {
public static String GATHER_TABLE_PASSWORD="1"; //登入密码
/** excel上传路径 */
public static String FILE_UPLOAD_PATH="";
/** excel下载路经 */
public static String FILE_DOWNLOAD_PATH="";
/** 包下载路径 */
public static String PACKAGE_DOWNLOAD_PATH="";
/** 下载包名 */
public static String PACKAGE_NAME="";
/**
*
*/
public static String SQL_SCRIPT_PATH_LAST="D:\\test\\sql_script_last\\";
/** 归档脚本的位置 */
public static String SQL_SCRIPT_PATH_STANDARD="D:\\test\\sql_script_standard\\";
/**
*
*/
public static int dataBefore = 6;
}

@ -75,6 +75,8 @@ public class ConfigsLoader implements ServletContextListener {
Configs.SQL_SCRIPT_PATH_STANDARD = properties.getProperty("sql_script_path_standard");
Configs.dataBefore = Integer.valueOf(properties.getProperty("dataBefore"));
HttpClientConstant.URL_IP_PORT = properties.getProperty("HttpClientConstant_URL_IP_PORT").trim();
Constant.hostIp=properties.getProperty("gfs_control_ip").trim();

Loading…
Cancel
Save