ASN IP配置删除操作修改.

This commit is contained in:
zhangwq
2018-12-13 18:07:15 +08:00
parent c817ac5cb1
commit 5de89eb64b

View File

@@ -353,9 +353,9 @@ public class AsnIpCfgService extends CrudService<CrudDao<AsnIpCfg>, AsnIpCfg> {
}
@Transactional(readOnly=false,rollbackFor=RuntimeException.class)
public void delete(Integer isValid,String ids) {
for(String id:ids.split(",")) {
/*for(String id:ids.split(",")) {
Long.parseLong(id);
}
}*/
List<AsnIpCfg> issuedList=new ArrayList<>();
List<AsnIpCfg> asnIpCfgList= asnIpCfgDao.getByIds(ids);
@@ -373,7 +373,9 @@ public class AsnIpCfgService extends CrudService<CrudDao<AsnIpCfg>, AsnIpCfg> {
asnIpCfgDao.delete(ids);
//已经下发过的,调用分组复用配置删除接口
// splitAndSend(issuedList,Constants.VALID_NO);
asnIPRegionSendToMaat(issuedList,Constants.VALID_NO);
if(issuedList.size() > 0){
asnIPRegionSendToMaat(issuedList,Constants.VALID_NO);
}
}
// public List<ConfigGroupInfo> findPolicyGroupInfosByType(Integer groupId) {