diff --git a/src/com/platform/utils/Configs.java b/src/com/platform/utils/Configs.java index c7205169..ab3bd3ab 100644 --- a/src/com/platform/utils/Configs.java +++ b/src/com/platform/utils/Configs.java @@ -90,7 +90,7 @@ public class Configs { public static int dataBefore = 6; /** - * 多少 个月前的数据 + * excel导入一次批量导入12个 */ public static int NUM_ONE_IMPORT_EXCEL = 12; diff --git a/src/com/platform/utils/ConfigsLoader.java b/src/com/platform/utils/ConfigsLoader.java index 371b6008..592a59d4 100644 --- a/src/com/platform/utils/ConfigsLoader.java +++ b/src/com/platform/utils/ConfigsLoader.java @@ -104,7 +104,7 @@ public class ConfigsLoader implements ServletContextListener { Configs.COLLECT_PAY_TABLE = properties.getProperty("collect-pay-table"); HttpClientConstant.URL_IP_PORT = properties.getProperty("HttpClientConstant_URL_IP_PORT").trim(); - + Constant.moveFileMaxNum=Integer.valueOf(properties.getProperty("moveFileMaxNum").trim()); Constant.hostIp=properties.getProperty("gfs_control_ip").trim(); Constant.rootPasswd=properties.getProperty("gfs_control_rootPassWd").trim(); Constant.ganymedSSH = new GanymedSSH(Constant.hostIp, Constant.rootUser, Constant.rootPasswd, Constant.port); diff --git a/src/com/platform/utils/Constant.java b/src/com/platform/utils/Constant.java index ce9d6f85..8a4bd021 100644 --- a/src/com/platform/utils/Constant.java +++ b/src/com/platform/utils/Constant.java @@ -38,7 +38,7 @@ public class Constant { /** * 迁移数据时,并发迁移数量 */ - public final static int moveFileMaxNum = 1; + public static int moveFileMaxNum = 1; /** * volume 获取的线程休眠时间