Merge branch 'develop' of https://git.mesalab.cn/K18_NTCS_WEB/NTC.git into develop
This commit is contained in:
@@ -444,7 +444,8 @@ public class AsnIpCfgService extends CrudService<CrudDao<AsnIpCfg>, AsnIpCfg> {
|
||||
SqlSessionFactory sqlSessionFactory=SpringContextHolder.getBean(SqlSessionFactory.class);
|
||||
final SqlSession batchSqlSession = sqlSessionFactory.openSession(ExecutorType.BATCH, false);
|
||||
try{
|
||||
data.entrySet().stream().forEach( enrty->{
|
||||
for(Entry<Long,List<AsnIpCfg>> enrty:data.entrySet()) {
|
||||
//data.entrySet().stream().forEach( enrty->{
|
||||
Long asn=enrty.getKey();//ans group 的group id
|
||||
List<AsnIpCfg> asnIpCfgs=enrty.getValue();
|
||||
for(int index = 0; index < asnIpCfgs.size();index++){
|
||||
@@ -548,7 +549,8 @@ public class AsnIpCfgService extends CrudService<CrudDao<AsnIpCfg>, AsnIpCfg> {
|
||||
}else {
|
||||
throw new RuntimeException("isValid value is "+isValid);
|
||||
}
|
||||
});
|
||||
//});
|
||||
}
|
||||
}finally {
|
||||
if(batchSqlSession != null){
|
||||
batchSqlSession.close();
|
||||
|
||||
@@ -1449,3 +1449,10 @@ hex_minlength_8=Please enter a hexadecimal string of length 8
|
||||
hex_minlength_16=Please enter a hexadecimal string of length 16
|
||||
need_input=Attributes need to be filled in
|
||||
max_input=Fill in at most four
|
||||
no_need_input=Attributes no need to be filled in
|
||||
close_link=Close Link
|
||||
asn_group=ASN Group
|
||||
can_not_edit_issued_ans_group=Can not edit valid ASN group
|
||||
can_not_delete_asn_group_with_audited_ip=Can not delete ASN group with approved IP
|
||||
organization=Organization
|
||||
mismatch=Mismatch
|
||||
Reference in New Issue
Block a user