fileDigest模块增加区域信息

修改dns域名取值bug
This commit is contained in:
duandongmei
2018-06-08 14:26:40 +08:00
parent 765d9a9ced
commit f8bc158390
8 changed files with 117 additions and 13 deletions

View File

@@ -278,10 +278,10 @@ public abstract class BaseService {
List numRegionList = new ArrayList();
Integer groupId = 0;
for(int i=0;i<srcList.size();i++){
GroupCfg group = new GroupCfg();
BaseIpCfg baseIpCfg = (BaseIpCfg) srcList.get(i);
IpCfg cfg = new IpCfg();
BeanUtils.copyProperties(baseIpCfg, cfg);
GroupCfg group = new GroupCfg();
if(!cfg.getCfgType().equals(regionValue)){
groupId = ConfigServiceUtil.getId(2, 1).get(0);
group.setGroupId(groupId);