feat: 拓扑编辑数据存储功能
This commit is contained in:
21
src/modules/chart/repository/chart_graph.go
Normal file
21
src/modules/chart/repository/chart_graph.go
Normal file
@@ -0,0 +1,21 @@
|
||||
package repository
|
||||
|
||||
import "ems.agt/src/modules/chart/model"
|
||||
|
||||
// G6关系图数据 数据层接口
|
||||
type IChartGraph interface {
|
||||
// SelectPage 根据条件分页查询字典类型
|
||||
SelectPage(query map[string]any) map[string]any
|
||||
|
||||
// SelectList 根据实体查询
|
||||
SelectList(graph model.ChartGraph) []model.ChartGraph
|
||||
|
||||
// SelectGroup 查询组名
|
||||
SelectGroup() []string
|
||||
|
||||
// Insert 批量添加
|
||||
Inserts(graphs []model.ChartGraph) int64
|
||||
|
||||
// Delete 删除组数据
|
||||
DeleteGroup(rowGroup string) int64
|
||||
}
|
||||
Reference in New Issue
Block a user