// ========================================================================== // GFast自动生成service操作代码。 // 生成日期:2023-09-26 14:31:07 // 生成路径: internal/app/system/service/plan_daily.go // 生成人:gfast // desc:日报 // company:云南奇讯科技有限公司 // ========================================================================== package service import ( "context" "github.com/tiger1103/gfast/v3/api/v1/system" "github.com/tiger1103/gfast/v3/internal/app/system/model" ) type IPlanDaily interface { List(ctx context.Context, req *system.PlanDailySearchReq) (res *system.PlanDailySearchRes, err error) GetById(ctx context.Context, Id int64) (res *model.PlanDailyInfoRes, err error) Add(ctx context.Context, req *system.PlanDailyAddReq) (err error) Edit(ctx context.Context, req *system.PlanDailyEditReq) (err error) Delete(ctx context.Context, Id []int64) (err error) } var localPlanDaily IPlanDaily func PlanDaily() IPlanDaily { if localPlanDaily == nil { panic("implement not found for interface IPlanDaily, forgot register?") } return localPlanDaily } func RegisterPlanDaily(i IPlanDaily) { localPlanDaily = i }