27 lines
621 B
Go
27 lines
621 B
Go
package repository
|
|
|
|
import (
|
|
"be.ems/src/modules/network_data/model"
|
|
)
|
|
|
|
// UDM签约信息 数据层接口
|
|
type IUDMSub interface {
|
|
// ClearAndInsert 清空ne_id后新增实体
|
|
ClearAndInsert(neId string, uArr []model.UDMSub) int64
|
|
|
|
// SelectPage 根据条件分页查询
|
|
SelectPage(query map[string]any) map[string]any
|
|
|
|
// SelectList 根据实体查询
|
|
SelectList(u model.UDMSub) []model.UDMSub
|
|
|
|
// Insert 批量添加
|
|
Inserts(uArr []model.UDMSub) int64
|
|
|
|
// Delete 删除实体
|
|
Delete(neId, imsi string) int64
|
|
|
|
// DeletePrefixByIMSI 删除前缀匹配的实体
|
|
DeletePrefixByIMSI(neId, imsi string) int64
|
|
}
|