chore: 并入 iotlcm-admin-svr 历史到 admin-svr/(原提交 49818c6)
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
// ================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// You can delete these comments if you wish manually maintain this interface file.
|
||||
// ================================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/library/xgorm/handler"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/genin"
|
||||
|
||||
"github.com/gogf/gf/v2/database/gdb"
|
||||
)
|
||||
|
||||
type (
|
||||
IGenTestDemo interface {
|
||||
// Model 测试单表ORM模型
|
||||
Model(ctx context.Context, option ...*handler.Option) *gdb.Model
|
||||
// List 获取测试单表列表
|
||||
List(ctx context.Context, in *genin.TestDemoListParam) (list []*genin.TestDemoListModel, totalCount int, err error)
|
||||
// Export 导出测试单表
|
||||
Export(ctx context.Context, in *genin.TestDemoListParam) (err error)
|
||||
// Edit 修改/新增测试单表
|
||||
Edit(ctx context.Context, in *genin.TestDemoEditParam) (err error)
|
||||
// Delete 删除测试单表
|
||||
Delete(ctx context.Context, in *genin.TestDemoDeleteParam) (err error)
|
||||
// View 获取测试单表指定信息
|
||||
View(ctx context.Context, in *genin.TestDemoViewParam) (res *genin.TestDemoViewModel, err error)
|
||||
}
|
||||
)
|
||||
|
||||
var (
|
||||
localGenTestDemo IGenTestDemo
|
||||
)
|
||||
|
||||
func GenTestDemo() IGenTestDemo {
|
||||
if localGenTestDemo == nil {
|
||||
panic("implement not found for interface IGenTestDemo, forgot register?")
|
||||
}
|
||||
return localGenTestDemo
|
||||
}
|
||||
|
||||
func RegisterGenTestDemo(i IGenTestDemo) {
|
||||
localGenTestDemo = i
|
||||
}
|
||||
Reference in New Issue
Block a user