1、添加tabName和service的映射关系;

2、MATT_CONFIG_COMPILE改为MAAT_CONFIG_COMPILE
This commit is contained in:
zhangdongxu
2018-03-29 10:34:23 +08:00
parent 43169a27a1
commit 7732a5b895
2 changed files with 9 additions and 1 deletions

View File

@@ -85,6 +85,7 @@ public class ConfigSourcesService extends BaseService {
typeMap.put("HID_CONTENT", "ip"); typeMap.put("HID_CONTENT", "ip");
typeMap.put("GSB_PZ_IP", "ip"); typeMap.put("GSB_PZ_IP", "ip");
typeMap.put("FAKE_REGION_EXTEND", "str"); typeMap.put("FAKE_REGION_EXTEND", "str");
typeMap.put("KEYWORD_RANDOM_REGION", "str");
typeMap.put("CTRL_URL_REGION", "str"); typeMap.put("CTRL_URL_REGION", "str");
typeMap.put("CTRL_VOIP_BLACKACCOUNT_REGION", "str"); typeMap.put("CTRL_VOIP_BLACKACCOUNT_REGION", "str");
typeMap.put("CTRL_MEDIA_FILE_FP", "digest"); typeMap.put("CTRL_MEDIA_FILE_FP", "digest");
@@ -93,6 +94,7 @@ public class ConfigSourcesService extends BaseService {
typeMap = new HashMap<String, String>(); typeMap = new HashMap<String, String>();
typeMap.put("DF_IP_PORT", "ip"); typeMap.put("DF_IP_PORT", "ip");
typeMap.put("GSB_PZ_IP", "ip");//IP复用 typeMap.put("GSB_PZ_IP", "ip");//IP复用
typeMap.put("CTRL_MEDIA_FILE_FP", "digest");
tableMap.put(1, typeMap); tableMap.put(1, typeMap);
typeMap = new HashMap<String, String>(); typeMap = new HashMap<String, String>();
@@ -101,6 +103,11 @@ public class ConfigSourcesService extends BaseService {
typeMap.put("GSB_PZ_IP", "ip");//网站伪造 typeMap.put("GSB_PZ_IP", "ip");//网站伪造
tableMap.put(2, typeMap); tableMap.put(2, typeMap);
typeMap = new HashMap<String, String>();
typeMap.put("CTRL_VOIP_BLACKACCOUNT_REGION", "str");
tableMap.put(118, typeMap);
typeMap = new HashMap<String, String>(); typeMap = new HashMap<String, String>();
typeMap.put("UNIVERSAL_PROTO_TYPE", "num"); typeMap.put("UNIVERSAL_PROTO_TYPE", "num");
typeMap.put("UNIVERSAL_IP", "ip"); typeMap.put("UNIVERSAL_IP", "ip");
@@ -114,6 +121,7 @@ public class ConfigSourcesService extends BaseService {
typeMap.put("UNIVERSAL_IP", "ip"); typeMap.put("UNIVERSAL_IP", "ip");
typeMap.put("DF_HTTP_RES_HDR", "str"); typeMap.put("DF_HTTP_RES_HDR", "str");
typeMap.put("GSB_PZ_IP", "ip");//随机丢包 typeMap.put("GSB_PZ_IP", "ip");//随机丢包
typeMap.put("CTRL_URL_REGION", "str");
tableMap.put(4, typeMap); tableMap.put(4, typeMap);
typeMap = new HashMap<String, String>(); typeMap = new HashMap<String, String>();

View File

@@ -1,5 +1,5 @@
#编译表表名 #编译表表名
compileTabName=MATT_CONFIG_COMPILE compileTabName=MAAT_CONFIG_COMPILE
#编译表 新增配置时添加的字段 英文逗号分隔 #编译表 新增配置时添加的字段 英文逗号分隔
compileFieldName=COMPILE_ID ,SERVICE ,ACTION , CONT_TYPE, ATTR_TYPE, CONT_LABEL, Task_id, Guarantee_ID, AFFAIR_ID, TOPIC_ID, DO_BLACKLIST ,DO_LOG ,EFFECTIVE_RANGE , ACTIVE_SYS, CONFIG_PERCENT ,CONFIG_OPTION ,START_TIME ,END_TIME , USER_REGION, IS_VALID,GROUP_NUM,FATHER_CFG_ID ,OP_TIME compileFieldName=COMPILE_ID ,SERVICE ,ACTION , CONT_TYPE, ATTR_TYPE, CONT_LABEL, Task_id, Guarantee_ID, AFFAIR_ID, TOPIC_ID, DO_BLACKLIST ,DO_LOG ,EFFECTIVE_RANGE , ACTIVE_SYS, CONFIG_PERCENT ,CONFIG_OPTION ,START_TIME ,END_TIME , USER_REGION, IS_VALID,GROUP_NUM,FATHER_CFG_ID ,OP_TIME
#编译表 配置状态更新的条件 #编译表 配置状态更新的条件