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