修改音视频样例中生效范围的值为固定值0

This commit is contained in:
RenKaiGe-Office
2018-07-17 18:33:01 +08:00
parent c96a483bed
commit 050fd5796d
3 changed files with 4 additions and 2 deletions

View File

@@ -92,6 +92,8 @@ public class ConfigJedisServiceimpl implements ConfigRedisService {
valBF.append("\t");
} else if (valStr.equals("\\n")) {
valBF.append("\n");
}else {
valBF.append(valStr);
}
}
maatKey = keyBF.toString();

View File

@@ -3034,7 +3034,7 @@ public class ConfigSourcesService extends BaseService {
.getUnMaatTableName(Integer.valueOf(srcMap.get("service")
.toString().trim()));
String dstPath = Constants.MM_SAMPLE_DST_PATH.replace("{tableType}", maatTableName.substring(maatTableName.lastIndexOf("_")+1));
dstPath=dstPath.replace("{fileName}", dstStr.substring(dstStr.lastIndexOf("/")+1));
dstStr=dstPath.replace("{fileName}", dstStr.substring(dstStr.lastIndexOf("/")+1));
}else if ("file_id".equals(commonSourceFieldCfg
.getDstName())) {
dstStr= dstStr.substring(dstStr.indexOf("/group"));

View File

@@ -10,7 +10,7 @@
<p:maatType service="261;262;263;264;389;390;391;392">
<p:expressions>
<p:keyExpression>EFFECTIVE_RULE;:;{un_maat_table_name};,;[cfg_id]</p:keyExpression>
<p:valueExpression>[cfg_id];\t;[is_valid];\t;[dst_file];\t;[dst_file_md5];\t;[op_time];\t;[service];\t;[action];&amp;nbsp;[level];\t;[file_id];\n</p:valueExpression>
<p:valueExpression>[cfg_id];\t;[is_valid];\t;[dst_file];\t;[dst_file_md5];\t;[op_time];\t;[service];\t;[action];&amp;nbsp;0;\t;[file_id];\n</p:valueExpression>
<!-- <p:valueExpression>[cfg_id];\t;[is_valid];\t;[dst_file];\t;[dst_file_md5];\t;[time_stamp];&amp;nbsp;[level];\t;[file_id];\n</p:valueExpression> -->
</p:expressions>
<p:sequences>