修改 阀门保存的redis数据库Index,改为使用用nis.propterties

This commit is contained in:
zhangdongxu
2018-09-26 12:38:15 +08:00
parent a4f4c490ee
commit 76c9c120e8

View File

@@ -57,9 +57,9 @@ public class ServiceAndRDBIndexReal {
private static Map<Integer, Map<String, String[]>> maatToValveMap = new HashMap<Integer, Map<String, String[]>>();
/**
* 阀门保存的redis数据库IndexseriveTable.properties中定义
* 阀门保存的redis数据库Indexnis.properties中定义
*/
private static Integer valveDBIndex = 7;
private static Integer valveDBIndex = Configurations.getIntProperty("tapRedisDb", 5);
static {
String unMaatService = Configurations.getStringProperty("unMaatService", "");