编译配置生效时,校验编译下是否存在已经被删除的asn域配置。如果存在,提示用户重新编辑。

This commit is contained in:
duandongmei
2019-01-19 10:32:07 +06:00
parent 34648428ea
commit ca14bcb621
12 changed files with 107 additions and 5 deletions

View File

@@ -186,6 +186,7 @@ public class AsnIpCfgService extends CrudService<CrudDao<AsnIpCfg>, AsnIpCfg> {
AsnGroupInfo info=e.getValue();
info.setAsnId(e.getKey());
info.setIsValid(0);
info.setIsUsed(0);
info.setCreatorId(UserUtils.getUser().getId());
info.setCreateTime(createTime);
info.setGroupId(groupIds.get(index));