asn ip 导入修复判断是否已经下发
This commit is contained in:
@@ -112,7 +112,7 @@ public class AsnIpCfgService extends CrudService<CrudDao<AsnIpCfg>, AsnIpCfg> {
|
||||
cfg.setIsValid(Constants.VALID_YES);
|
||||
}
|
||||
if(isImportAll.get(0).getItemCode().equals("1")) {//全量下发,删除已有的
|
||||
if(configGroupInfo.getIsIssued()==0) {//已下发
|
||||
if(configGroupInfo.getIsIssued()==1) {//已下发
|
||||
List<AsnIpCfg> _toDelAsnIpCfgs=this.getByAsnGroup(configGroupInfo.getGroupId(), configGroupInfo.getAsnId());
|
||||
toDelAsnIpCfgs.addAll(_toDelAsnIpCfgs);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user