From 8911661a567318687a176d8555d10cb7fe0d5ce1 Mon Sep 17 00:00:00 2001 From: chenlw <874313221@qq.com> Date: Tue, 13 Dec 2016 09:49:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E7=9A=84=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/com/platform/utils/Configs.java | 2 +- src/com/platform/utils/ConfigsLoader.java | 2 +- src/com/platform/utils/Constant.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 获取的线程休眠时间