37 lines
1.2 KiB
Go
37 lines
1.2 KiB
Go
// ==========================================================================
|
||
// 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
|
||
}
|