ip判断addr_type时,增加是否Number类型判断。避免其他业务名称重复,进入ip类型数字校验。
This commit is contained in:
@@ -687,7 +687,7 @@ public class ConfigSourcesService extends BaseService {
|
||||
String ipTypeName = "";
|
||||
|
||||
for (CommonSourceFieldCfg commonSourceFieldCfg : commonSourceFieldCfgList) {
|
||||
if (commonSourceFieldCfg.getDstName().equals("addr_type")) {
|
||||
if (commonSourceFieldCfg.getDstName().equals("addr_type") && commonSourceFieldCfg.getFieldType().equals("Number")) {
|
||||
String dstVal = srcMap.get(commonSourceFieldCfg.getSrcName()).toString();
|
||||
ipTypeName = commonSourceFieldCfg.getSrcName();
|
||||
// regexp 特殊格式正则验证
|
||||
|
||||
Reference in New Issue
Block a user