Files
zmkgC/internal/app/wxApplet/service/bus_labourservice.go

43 lines
1.7 KiB
Go
Raw Permalink Normal View History

2025-07-07 20:11:59 +08:00
// ==========================================================================
// 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
}