初始
This commit is contained in:
36
internal/app/system/service/qianqi_pingchang.go
Normal file
36
internal/app/system/service/qianqi_pingchang.go
Normal file
@ -0,0 +1,36 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-08-08 10:08:24
|
||||
// 生成路径: internal/app/system/service/qianqi_pingchang.go
|
||||
// 生成人:gfast
|
||||
// desc:平场数据
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IQianqiPingchang interface {
|
||||
//List(ctx context.Context, req *system.QianqiPingchangSearchReq) (res *system.QianqiPingchangSearchRes, err error)
|
||||
GetById(ctx context.Context, Id uint64) (res *model.QianqiPingchangInfoRes, err error)
|
||||
//Add(ctx context.Context, req *system.QianqiPingchangAddReq) (err error)
|
||||
//Edit(ctx context.Context, req *system.QianqiPingchangEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []uint64) (err error)
|
||||
}
|
||||
|
||||
var localQianqiPingchang IQianqiPingchang
|
||||
|
||||
func QianqiPingchang() IQianqiPingchang {
|
||||
if localQianqiPingchang == nil {
|
||||
panic("implement not found for interface IQianqiPingchang, forgot register?")
|
||||
}
|
||||
return localQianqiPingchang
|
||||
}
|
||||
|
||||
func RegisterQianqiPingchang(i IQianqiPingchang) {
|
||||
localQianqiPingchang = i
|
||||
}
|
||||
Reference in New Issue
Block a user