package repository import "be.ems/src/modules/network_element/model" // INeLicense 网元授权激活信息 数据层接口 type INeLicense interface { // SelectPage 根据条件分页查询字典类型 SelectPage(query map[string]any) map[string]any // SelectList 根据实体查询 SelectList(neLicense model.NeLicense) []model.NeLicense // SelectByIds 通过ID查询 SelectByIds(ids []string) []model.NeLicense // Insert 新增信息 Insert(neLicense model.NeLicense) string // Update 修改信息 Update(neLicense model.NeLicense) int64 // DeleteByIds 批量删除信息 DeleteByIds(ids []string) int64 // CheckUniqueTypeAndID 校验网元类型和网元ID是否唯一 CheckUniqueTypeAndID(neLicense model.NeLicense) string }