(1)删除配置时级联删除配置相关的区域IP
(2)修复ip配置删除完成跳转到审核菜单的bug
This commit is contained in:
@@ -99,7 +99,10 @@ public class IpCfgService extends CrudService<IpCfgDao,BaseIpCfg> {
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Transactional(readOnly=false,rollbackFor=RuntimeException.class)
|
||||
public int deleteIpCfg(BaseIpCfg baseIpCfg){
|
||||
public int deleteIpCfg(BaseIpCfg baseIpCfg, List<AreaIpCfg> areaCfg){
|
||||
if(areaCfg!=null&&areaCfg.size()>0){
|
||||
this.deleteIpBatch(areaCfg);
|
||||
}
|
||||
return ipCfgDao.updateValid(baseIpCfg);
|
||||
}
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user