package service import "be.ems/src/modules/network_element/model" // INeConfig 网元参数配置可用属性值 服务层接口 type INeConfig interface { // RefreshByNeType 通过ne_type刷新redis中的缓存 RefreshByNeTypeAndNeID(neType string) []model.NeConfig // ClearNeCacheByNeType 清除网元类型参数配置缓存 ClearNeCacheByNeType(neType string) bool // SelectNeConfigByNeType 查询网元类型参数配置 SelectNeConfigByNeType(neType string) []model.NeConfig // SelectNeConfigByNeTypeAndParamName 查询网元类型参数配置By参数名 SelectNeConfigByNeTypeAndParamName(neType, paramName string) model.NeConfig // SelectNeHostPage 分页查询列表数据 SelectPage(query map[string]any) map[string]any // SelectList 根据实体查询 SelectList(param model.NeConfig) []model.NeConfig // SelectByIds 通过ID查询 SelectById(id string) model.NeConfig // Insert 新增信息 Insert(param model.NeConfig) string // Update 修改信息 Update(param model.NeConfig) int64 // DeleteByIds 批量删除信息 DeleteByIds(ids []string) (int64, error) }