fix: 主机信息删除时禁止删除网元组
This commit is contained in:
@@ -316,7 +316,7 @@ func (r NeInfo) DeleteByIds(ids []int64) (int64, error) {
|
||||
for _, hostId := range arr {
|
||||
hostIds = append(hostIds, parse.Number(hostId))
|
||||
}
|
||||
r.neHostService.DeleteByIds(hostIds)
|
||||
r.neHostService.DeleteByIds(hostIds, false)
|
||||
}
|
||||
// 删除License
|
||||
neLicense := NewNeLicense.FindByNeTypeAndNeID(v.NeType, v.NeId)
|
||||
|
||||
Reference in New Issue
Block a user