feat: 新增网元软件包信息/网元版本信息接口

This commit is contained in:
TsMask
2024-03-08 16:15:38 +08:00
parent afddabb0f9
commit 38070f130d
12 changed files with 1285 additions and 12 deletions

View File

@@ -0,0 +1,27 @@
package repository
import "be.ems/src/modules/network_element/model"
// INeVersion 网元版本信息 数据层接口
type INeVersion interface {
// SelectPage 根据条件分页查询字典类型
SelectPage(query map[string]any) map[string]any
// SelectList 根据实体查询
SelectList(neVersion model.NeVersion) []model.NeVersion
// SelectByIds 通过ID查询
SelectByIds(ids []string) []model.NeVersion
// Insert 新增信息
Insert(neVersion model.NeVersion) string
// Update 修改信息
Update(neVersion model.NeVersion) int64
// DeleteByIds 批量删除信息
DeleteByIds(ids []string) int64
// CheckUniqueTypeAndID 校验网元类型和网元ID是否唯一
CheckUniqueTypeAndID(neVersion model.NeVersion) string
}