fix: 主机信息删除时禁止删除网元组

This commit is contained in:
TsMask
2025-05-16 17:43:03 +08:00
parent 82db21fffd
commit b325b4d5ac
3 changed files with 5 additions and 4 deletions

View File

@@ -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)