28 lines
759 B
Go
28 lines
759 B
Go
package service
|
|
|
|
import "be.ems/src/modules/network_element/model"
|
|
|
|
// INeConfigBackup 网元配置文件备份记录 服务层接口
|
|
type INeConfigBackup interface {
|
|
// SelectNeHostPage 分页查询列表数据
|
|
SelectPage(query map[string]any) map[string]any
|
|
|
|
// SelectList 根据实体查询
|
|
SelectList(item model.NeConfigBackup) []model.NeConfigBackup
|
|
|
|
// SelectByIds 通过ID查询
|
|
SelectById(id string) model.NeConfigBackup
|
|
|
|
// Insert 新增信息
|
|
Insert(item model.NeConfigBackup) string
|
|
|
|
// Update 修改信息
|
|
Update(item model.NeConfigBackup) int64
|
|
|
|
// DeleteByIds 批量删除信息
|
|
DeleteByIds(ids []string) (int64, error)
|
|
|
|
// NeConfigFileToLocal 网元备份文件到本地
|
|
NeConfigFileToLocal(neInfo model.NeInfo) (string, error)
|
|
}
|