feat: 网元版本支持通过网元类型和网元ID查询

This commit is contained in:
TsMask committed 2024-03-18 11:24:36 +08:00
1 parent 40c58bb1da
commit 4d8d8d2a3a
2 files changed
+18 -3

No files matched your search

@@ -22,6 +22,9 @@ type INeVersion interface {
// DeleteByIds 批量删除信息
DeleteByIds(ids []string) (int64, error)
// SelectByTypeAndID 通过网元类型和网元ID查询
SelectByTypeAndID(neType, neId string) model.NeVersion
// CheckUniqueTypeAndID 校验网元类型和网元ID是否唯一
CheckUniqueTypeAndID(neType, neId, id string) bool
}