初始
This commit is contained in:
42
internal/app/wxApplet/service/bus_askforleave.go
Normal file
42
internal/app/wxApplet/service/bus_askforleave.go
Normal file
@ -0,0 +1,42 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2025-03-27 14:14:25
|
||||
// 生成路径: internal/app/wxApplet/service/bus_askforleave.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 IBusAskforleave interface {
|
||||
List(ctx context.Context, req *wxApplet.BusAskforleaveSearchReq) (res *wxApplet.BusAskforleaveSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusAskforleaveInfoRes, err error)
|
||||
Add(ctx context.Context, req *wxApplet.BusAskforleaveAddReq) (err error)
|
||||
Edit(ctx context.Context, req *wxApplet.BusAskforleaveEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
|
||||
AppAskForLeaveAdd(ctx context.Context, req *wxApplet.AppAskForLeaveAddReq) (err error)
|
||||
AppAskForLeaveListPage(ctx context.Context, req *wxApplet.AppAskForLeaveListPageReq) (res *wxApplet.AppAskForLeaveListPageRes, err error)
|
||||
AppAskForLeaveInfo(ctx context.Context, req *wxApplet.AppAskForLeaveInfoReq) (res *wxApplet.AppAskForLeaveInfoRes, err error)
|
||||
AppBzzAskForLeaveUpdate(ctx context.Context, req *wxApplet.AppBzzAskForLeaveUpdateReq) (err error)
|
||||
}
|
||||
|
||||
var localBusAskforleave IBusAskforleave
|
||||
|
||||
func BusAskforleave() IBusAskforleave {
|
||||
if localBusAskforleave == nil {
|
||||
panic("implement not found for interface IBusAskforleave, forgot register?")
|
||||
}
|
||||
return localBusAskforleave
|
||||
}
|
||||
|
||||
func RegisterBusAskforleave(i IBusAskforleave) {
|
||||
localBusAskforleave = i
|
||||
}
|
||||
53
internal/app/wxApplet/service/bus_attendance.go
Normal file
53
internal/app/wxApplet/service/bus_attendance.go
Normal file
@ -0,0 +1,53 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-08-07 16:29:52
|
||||
// 生成路径: internal/app/wxApplet/service/bus_attendance.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 IBusAttendance interface {
|
||||
SalaryDetailsFunc(ctx context.Context, req *wxApplet.SalaryDetailsReq) (res *wxApplet.SalaryDetailsRes, err error)
|
||||
Export(ctx context.Context, req *wxApplet.PunchingCardRecordReq) (res *wxApplet.PunchingCardRecordRes, err error)
|
||||
List(ctx context.Context, req *wxApplet.BusAttendanceSearchReq) (res *wxApplet.BusAttendanceSearchRes, err error)
|
||||
GetById(ctx context.Context, Id uint64) (res *model.BusAttendanceInfoRes, err error)
|
||||
Add(ctx context.Context, req *wxApplet.BusAttendanceAddReq) (err error)
|
||||
Edit(ctx context.Context, req *wxApplet.BusAttendanceEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []uint64) (err error)
|
||||
ByOpenidFunc(ctx context.Context, req *wxApplet.ByOpenIdFuncReq) (res *wxApplet.ByOpenIdFuncRes, err error)
|
||||
DailyAbsenteeismFunc(ctx context.Context)
|
||||
PCListFunc(ctx context.Context, req *wxApplet.PCListReq) (res *wxApplet.PCListRes, err error)
|
||||
AttendanceByOpenIdFunc(ctx context.Context, openid string) (res *wxApplet.AttendanceByOpenIdRes, err error)
|
||||
AppMyAttendanceFunc(ctx context.Context, req *wxApplet.AppMyAttendanceReq) (res *wxApplet.AppMyAttendanceRes, err error)
|
||||
AppProjectOverviewFunc(ctx context.Context, req *wxApplet.AppProjectOverviewReq) (res *wxApplet.AppProjectOverviewRes, err error)
|
||||
AppMyAttendanceDetailsFunc(ctx context.Context, req *wxApplet.AppMyAttendanceDetailsReq) (res *wxApplet.AppMyAttendanceDetailsRes, err error)
|
||||
AppWhetherToEnterTheClockRangeFunc(ctx context.Context, req *wxApplet.AppWhetherToEnterTheClockRangeReq) (res *wxApplet.AppWhetherToEnterTheClockRangeRes, err error)
|
||||
AppClockingStatusOfTheDayFunc(ctx context.Context, req *wxApplet.AppClockingStatusOfTheDayReq) (res *wxApplet.AppClockingStatusOfTheDayRes, err error)
|
||||
AppSelectThisUserByCardRecordFunc(ctx context.Context, req *wxApplet.AppSelectThisUserByCardRecordReq) (res *wxApplet.AppSelectThisUserByCardRecordRes, err error)
|
||||
AppReissueACardListFunc(ctx context.Context, req *wxApplet.AppReissueACardListReq) (res *wxApplet.AppReissueACardListRes, err error)
|
||||
AppReissueACardIdFunc(ctx context.Context, req *wxApplet.AppReissueACardIdReq) (res *wxApplet.AppReissueACardIdRes, err error)
|
||||
AppLocationAttendanceStatisticsFunc(ctx context.Context, req *wxApplet.AppLocationAttendanceStatisticsReq) (res *wxApplet.AppLocationAttendanceStatisticsRes, err error)
|
||||
AppTeamAttendanceFunc(ctx context.Context, req *wxApplet.AppTeamAttendanceReq) (res *wxApplet.AppTeamAttendanceRes, err error)
|
||||
}
|
||||
|
||||
var localBusAttendance IBusAttendance
|
||||
|
||||
func BusAttendance() IBusAttendance {
|
||||
if localBusAttendance == nil {
|
||||
panic("implement not found for interface IBusAttendance, forgot register?")
|
||||
}
|
||||
return localBusAttendance
|
||||
}
|
||||
|
||||
func RegisterBusAttendance(i IBusAttendance) {
|
||||
localBusAttendance = i
|
||||
}
|
||||
37
internal/app/wxApplet/service/bus_construction_project.go
Normal file
37
internal/app/wxApplet/service/bus_construction_project.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-08-07 11:17:50
|
||||
// 生成路径: internal/app/wxApplet/service/bus_construction_project.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 IBusConstructionProject interface {
|
||||
List(ctx context.Context, req *wxApplet.BusConstructionProjectSearchReq) (res *wxApplet.BusConstructionProjectSearchRes, err error)
|
||||
GetById(ctx context.Context, Id uint64) (res *model.BusConstructionProjectInfoRes, err error)
|
||||
Add(ctx context.Context, req *wxApplet.BusConstructionProjectAddReq) (err error)
|
||||
Edit(ctx context.Context, req *wxApplet.BusConstructionProjectEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []uint64) (err error)
|
||||
}
|
||||
|
||||
var localBusConstructionProject IBusConstructionProject
|
||||
|
||||
func BusConstructionProject() IBusConstructionProject {
|
||||
if localBusConstructionProject == nil {
|
||||
panic("implement not found for interface IBusConstructionProject, forgot register?")
|
||||
}
|
||||
return localBusConstructionProject
|
||||
}
|
||||
|
||||
func RegisterBusConstructionProject(i IBusConstructionProject) {
|
||||
localBusConstructionProject = i
|
||||
}
|
||||
57
internal/app/wxApplet/service/bus_construction_user.go
Normal file
57
internal/app/wxApplet/service/bus_construction_user.go
Normal file
@ -0,0 +1,57 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-08-07 11:17:50
|
||||
// 生成路径: internal/app/wxApplet/service/bus_construction_user.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 IBusConstructionUser interface {
|
||||
List(ctx context.Context, req *wxApplet.BusConstructionUserSearchReq) (res *wxApplet.BusConstructionUserSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusConstructionUserInfoRes, err error)
|
||||
Add(ctx context.Context, req *wxApplet.BusConstructionUserAddReq) (id int64, err error)
|
||||
Edit(ctx context.Context, req *wxApplet.BusConstructionUserEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
//GetByOpenId(ctx context.Context, OpenId string) (res *model.BusConstructionUserInfoRes, err error)
|
||||
GetByOpenId(ctx context.Context, OpenId string) (res *wxApplet.BusConstructionUserByOpenIdGetRes, err error)
|
||||
GroupLeader(ctx context.Context, req *wxApplet.GroupLeaderReq) (res *wxApplet.GroupLeaderRes, err error)
|
||||
PayFunc(ctx context.Context, req *wxApplet.PayFuncReq) (res *wxApplet.PayFuncRes, err error)
|
||||
AttendanceFunc(ctx context.Context, req *wxApplet.AttendanceReq) (res *wxApplet.AttendanceRes, err error)
|
||||
AttendanceCountListFunc(ctx context.Context, req *wxApplet.AttendanceListReq) (res *wxApplet.AttendanceListRes, err error)
|
||||
PersonnelListFunc(ctx context.Context, req *wxApplet.PersonnelListReq) (res *wxApplet.PersonnelListRes, err error)
|
||||
ProjectRecordFunc(ctx context.Context, req *wxApplet.ProjectRecordReq) (res *wxApplet.ProjectRecordRes, err error)
|
||||
HumanFaceFunc(ctx context.Context, req *wxApplet.HumanFaceReq) (res *wxApplet.HumanFaceReqRes, err error)
|
||||
SubscriptionFunc(ctx context.Context, req *wxApplet.SubscriptionFuncReq) (res *wxApplet.SubscriptionFuncRes, err error)
|
||||
ChangeStateFunc(ctx context.Context, req *wxApplet.ChangeStateReq) (err error)
|
||||
PersonnelInquiryFunc(ctx context.Context, req *wxApplet.PersonnelInquiryReq) (res *wxApplet.PersonnelInquiryRes, err error)
|
||||
ChangePayFunc(ctx context.Context, req *wxApplet.ChangePayReq) (err error)
|
||||
GetDetailsFunc(ctx context.Context, req *wxApplet.GetDetailsReq) (res *wxApplet.GetDetailsRes, err error)
|
||||
ActionPathFunc(ctx context.Context, req *wxApplet.ActionPathReq) (latAndLon []*wxApplet.ActionPathLatAndLonActionPathLatAndLon, err error)
|
||||
|
||||
AppAllMembersOfTheCurrentGroupFunc(ctx context.Context, req *wxApplet.AppAllMembersOfTheCurrentGroupReq) (res *wxApplet.AppAllMembersOfTheCurrentGroupRes, err error)
|
||||
AppListOfConstructionPersonnelFunc(ctx context.Context, req *wxApplet.AppListOfConstructionPersonnelReq) (res *wxApplet.AppListOfConstructionPersonnelRes, err error)
|
||||
AppGetsThePeopleUnderTheSpecifiedProjectFunc(ctx context.Context, req *wxApplet.AppGetsThePeopleUnderTheSpecifiedProjectReq) (res *wxApplet.AppGetsThePeopleUnderTheSpecifiedProjectRes, err error)
|
||||
AppGetPersonnelDetailsFunc(ctx context.Context, req *wxApplet.AppGetPersonnelDetailsReq) (res *wxApplet.AppGetPersonnelDetailsRes, err error)
|
||||
}
|
||||
|
||||
var localBusConstructionUser IBusConstructionUser
|
||||
|
||||
func BusConstructionUser() IBusConstructionUser {
|
||||
if localBusConstructionUser == nil {
|
||||
panic("implement not found for interface IBusConstructionUser, forgot register?")
|
||||
}
|
||||
return localBusConstructionUser
|
||||
}
|
||||
|
||||
func RegisterBusConstructionUser(i IBusConstructionUser) {
|
||||
localBusConstructionUser = i
|
||||
}
|
||||
37
internal/app/wxApplet/service/bus_construction_user_file.go
Normal file
37
internal/app/wxApplet/service/bus_construction_user_file.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-08-07 11:17:55
|
||||
// 生成路径: internal/app/wxApplet/service/bus_construction_user_file.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 IBusConstructionUserFile interface {
|
||||
List(ctx context.Context, req *wxApplet.BusConstructionUserFileSearchReq) (res *wxApplet.BusConstructionUserFileSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusConstructionUserFileInfoRes, err error)
|
||||
Add(ctx context.Context, req *wxApplet.BusConstructionUserFileAddReq) (err error)
|
||||
Edit(ctx context.Context, req *wxApplet.BusConstructionUserFileEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
}
|
||||
|
||||
var localBusConstructionUserFile IBusConstructionUserFile
|
||||
|
||||
func BusConstructionUserFile() IBusConstructionUserFile {
|
||||
if localBusConstructionUserFile == nil {
|
||||
panic("implement not found for interface IBusConstructionUserFile, forgot register?")
|
||||
}
|
||||
return localBusConstructionUserFile
|
||||
}
|
||||
|
||||
func RegisterBusConstructionUserFile(i IBusConstructionUserFile) {
|
||||
localBusConstructionUserFile = i
|
||||
}
|
||||
37
internal/app/wxApplet/service/bus_construction_user_post.go
Normal file
37
internal/app/wxApplet/service/bus_construction_user_post.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-08-07 11:17:55
|
||||
// 生成路径: internal/app/wxApplet/service/bus_construction_user_post.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 IBusConstructionUserPost interface {
|
||||
List(ctx context.Context, req *wxApplet.BusConstructionUserPostSearchReq) (res *wxApplet.BusConstructionUserPostSearchRes, err error)
|
||||
GetById(ctx context.Context, Id uint64) (res *model.BusConstructionUserPostInfoRes, err error)
|
||||
Add(ctx context.Context, req *wxApplet.BusConstructionUserPostAddReq) (err error)
|
||||
Edit(ctx context.Context, req *wxApplet.BusConstructionUserPostEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []uint64) (err error)
|
||||
}
|
||||
|
||||
var localBusConstructionUserPost IBusConstructionUserPost
|
||||
|
||||
func BusConstructionUserPost() IBusConstructionUserPost {
|
||||
if localBusConstructionUserPost == nil {
|
||||
panic("implement not found for interface IBusConstructionUserPost, forgot register?")
|
||||
}
|
||||
return localBusConstructionUserPost
|
||||
}
|
||||
|
||||
func RegisterBusConstructionUserPost(i IBusConstructionUserPost) {
|
||||
localBusConstructionUserPost = i
|
||||
}
|
||||
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
|
||||
}
|
||||
41
internal/app/wxApplet/service/sys_project_team.go
Normal file
41
internal/app/wxApplet/service/sys_project_team.go
Normal file
@ -0,0 +1,41 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-08-15 09:34:52
|
||||
// 生成路径: internal/app/wxApplet/service/sys_project_team.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 ISysProjectTeam interface {
|
||||
List(ctx context.Context, req *wxApplet.SysProjectTeamSearchReq) (res *wxApplet.SysProjectTeamSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.SysProjectTeamInfoRes, err error)
|
||||
Add(ctx context.Context, req *wxApplet.SysProjectTeamAddReq) (err error)
|
||||
Edit(ctx context.Context, req *wxApplet.SysProjectTeamEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
//获取指定班组的出勤情况
|
||||
GetsTheAttendanceOfASpecifiedShiftGroupFunc(ctx context.Context, req *wxApplet.GetsTheAttendanceOfASpecifiedShiftGroupReq) (res *wxApplet.GetsTheAttendanceOfASpecifiedShiftGroupRes, err error)
|
||||
//获取用户对应出勤状态的人员列表
|
||||
ListOfAttendancePersonnelFunc(ctx context.Context, req *wxApplet.ListOfAttendancePersonnelReq) (res *wxApplet.ListOfAttendancePersonnelRes, err error)
|
||||
}
|
||||
|
||||
var localSysProjectTeam ISysProjectTeam
|
||||
|
||||
func SysProjectTeam() ISysProjectTeam {
|
||||
if localSysProjectTeam == nil {
|
||||
panic("implement not found for interface ISysProjectTeam, forgot register?")
|
||||
}
|
||||
return localSysProjectTeam
|
||||
}
|
||||
|
||||
func RegisterSysProjectTeam(i ISysProjectTeam) {
|
||||
localSysProjectTeam = i
|
||||
}
|
||||
37
internal/app/wxApplet/service/sys_project_team_member.go
Normal file
37
internal/app/wxApplet/service/sys_project_team_member.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-08-15 09:34:52
|
||||
// 生成路径: internal/app/wxApplet/service/sys_project_team_member.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 ISysProjectTeamMember interface {
|
||||
List(ctx context.Context, req *wxApplet.SysProjectTeamMemberSearchReq) (res *wxApplet.SysProjectTeamMemberSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.SysProjectTeamMemberInfoRes, err error)
|
||||
Add(ctx context.Context, req *wxApplet.SysProjectTeamMemberAddReq) (err error)
|
||||
Edit(ctx context.Context, req *wxApplet.SysProjectTeamMemberEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
}
|
||||
|
||||
var localSysProjectTeamMember ISysProjectTeamMember
|
||||
|
||||
func SysProjectTeamMember() ISysProjectTeamMember {
|
||||
if localSysProjectTeamMember == nil {
|
||||
panic("implement not found for interface ISysProjectTeamMember, forgot register?")
|
||||
}
|
||||
return localSysProjectTeamMember
|
||||
}
|
||||
|
||||
func RegisterSysProjectTeamMember(i ISysProjectTeamMember) {
|
||||
localSysProjectTeamMember = i
|
||||
}
|
||||
38
internal/app/wxApplet/service/sys_project_team_squad.go
Normal file
38
internal/app/wxApplet/service/sys_project_team_squad.go
Normal file
@ -0,0 +1,38 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-08-30 15:24:06
|
||||
// 生成路径: internal/app/wxApplet/service/sys_project_team_squad.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 ISysProjectTeamSquad interface {
|
||||
List(ctx context.Context, req *wxApplet.SysProjectTeamSquadSearchReq) (res *wxApplet.SysProjectTeamSquadSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.SysProjectTeamSquadInfoRes, err error)
|
||||
Add(ctx context.Context, req *wxApplet.SysProjectTeamSquadAddReq) (err error)
|
||||
Edit(ctx context.Context, req *wxApplet.SysProjectTeamSquadEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
SelectByOpenidTeamSquadSearch(ctx context.Context, req *wxApplet.SelectByOpenidTeamSquadSearchReq) (res *wxApplet.SelectByOpenidTeamSquadSearchRes, err error)
|
||||
}
|
||||
|
||||
var localSysProjectTeamSquad ISysProjectTeamSquad
|
||||
|
||||
func SysProjectTeamSquad() ISysProjectTeamSquad {
|
||||
if localSysProjectTeamSquad == nil {
|
||||
panic("implement not found for interface ISysProjectTeamSquad, forgot register?")
|
||||
}
|
||||
return localSysProjectTeamSquad
|
||||
}
|
||||
|
||||
func RegisterSysProjectTeamSquad(i ISysProjectTeamSquad) {
|
||||
localSysProjectTeamSquad = i
|
||||
}
|
||||
37
internal/app/wxApplet/service/sys_user_project_relevancy.go
Normal file
37
internal/app/wxApplet/service/sys_user_project_relevancy.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-08-21 09:19:15
|
||||
// 生成路径: internal/app/wxApplet/service/sys_user_project_relevancy.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 ISysUserProjectRelevancy interface {
|
||||
List(ctx context.Context, req *wxApplet.SysUserProjectRelevancySearchReq) (res *wxApplet.SysUserProjectRelevancySearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.SysUserProjectRelevancyInfoRes, err error)
|
||||
Add(ctx context.Context, req *wxApplet.SysUserProjectRelevancyAddReq) (err error)
|
||||
Edit(ctx context.Context, req *wxApplet.SysUserProjectRelevancyEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
}
|
||||
|
||||
var localSysUserProjectRelevancy ISysUserProjectRelevancy
|
||||
|
||||
func SysUserProjectRelevancy() ISysUserProjectRelevancy {
|
||||
if localSysUserProjectRelevancy == nil {
|
||||
panic("implement not found for interface ISysUserProjectRelevancy, forgot register?")
|
||||
}
|
||||
return localSysUserProjectRelevancy
|
||||
}
|
||||
|
||||
func RegisterSysUserProjectRelevancy(i ISysUserProjectRelevancy) {
|
||||
localSysUserProjectRelevancy = i
|
||||
}
|
||||
Reference in New Issue
Block a user