From 76c9c120e8c6e1cb70d8ba5d1f080762b272e18e Mon Sep 17 00:00:00 2001 From: zhangdongxu Date: Wed, 26 Sep 2018 12:38:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E9=98=80=E9=97=A8?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E7=9A=84redis=E6=95=B0=E6=8D=AE=E5=BA=93Inde?= =?UTF-8?q?x=EF=BC=8C=E6=94=B9=E4=B8=BA=E4=BD=BF=E7=94=A8=E7=94=A8nis.prop?= =?UTF-8?q?terties?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/nis/util/ServiceAndRDBIndexReal.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/nis/util/ServiceAndRDBIndexReal.java b/src/main/java/com/nis/util/ServiceAndRDBIndexReal.java index df5d261..ec2e48a 100644 --- a/src/main/java/com/nis/util/ServiceAndRDBIndexReal.java +++ b/src/main/java/com/nis/util/ServiceAndRDBIndexReal.java @@ -57,9 +57,9 @@ public class ServiceAndRDBIndexReal { private static Map> maatToValveMap = new HashMap>(); /** - * 阀门保存的redis数据库Index,在seriveTable.properties中定义 + * 阀门保存的redis数据库Index,在nis.properties中定义 */ - private static Integer valveDBIndex = 7; + private static Integer valveDBIndex = Configurations.getIntProperty("tapRedisDb", 5); static { String unMaatService = Configurations.getStringProperty("unMaatService", "");