初始
This commit is contained in:
42
internal/app/wxApplet/service/bus_labourservice.go
Normal file
42
internal/app/wxApplet/service/bus_labourservice.go
Normal file
@ -0,0 +1,42 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-08-14 11:24:31
|
||||
// 生成路径: internal/app/wxApplet/service/bus_labourservice.go
|
||||
// 生成人:gfast
|
||||
// desc:劳务公司
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/wxApplet/wxApplet"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/wxApplet/model"
|
||||
)
|
||||
|
||||
type IBusLabourservice interface {
|
||||
PcAdd(ctx context.Context, req *wxApplet.BusPcAddReq) (err error)
|
||||
PcDel(ctx context.Context, req *wxApplet.BusPcDelReq) (err error)
|
||||
PcFind(ctx context.Context, req *wxApplet.BusPcFindReq) (res *wxApplet.BusPcFindRes, err error)
|
||||
|
||||
List(ctx context.Context, req *wxApplet.BusLabourserviceSearchReq) (res *wxApplet.BusLabourserviceSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusLabourserviceInfoRes, err error)
|
||||
Add(ctx context.Context, req *wxApplet.BusLabourserviceAddReq) (err error)
|
||||
Edit(ctx context.Context, req *wxApplet.BusLabourserviceEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
AppListOfParticipatingUnitsFunc(ctx context.Context, req *wxApplet.AppListOfParticipatingUnitsReq) (res *wxApplet.AppListOfParticipatingUnitsRes, err error)
|
||||
}
|
||||
|
||||
var localBusLabourservice IBusLabourservice
|
||||
|
||||
func BusLabourservice() IBusLabourservice {
|
||||
if localBusLabourservice == nil {
|
||||
panic("implement not found for interface IBusLabourservice, forgot register?")
|
||||
}
|
||||
return localBusLabourservice
|
||||
}
|
||||
|
||||
func RegisterBusLabourservice(i IBusLabourservice) {
|
||||
localBusLabourservice = i
|
||||
}
|
||||
Reference in New Issue
Block a user