初始
This commit is contained in:
		
							
								
								
									
										37
									
								
								internal/app/test/service/test_contact_info.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								internal/app/test/service/test_contact_info.go
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,37 @@ | ||||
| // ========================================================================== | ||||
| // GFast自动生成service操作代码。 | ||||
| // 生成日期:2023-09-01 17:36:18 | ||||
| // 生成路径: internal/app/test/service/test_contact_info.go | ||||
| // 生成人:yqq | ||||
| // desc:业主方联系人关联 | ||||
| // company:云南奇讯科技有限公司 | ||||
| // ========================================================================== | ||||
|  | ||||
| package service | ||||
|  | ||||
| import ( | ||||
| 	"context" | ||||
| 	"github.com/tiger1103/gfast/v3/api/v1/test" | ||||
| 	"github.com/tiger1103/gfast/v3/internal/app/test/model" | ||||
| ) | ||||
|  | ||||
| type ITestContactInfo interface { | ||||
| 	List(ctx context.Context, req *test.TestContactInfoSearchReq) (res *test.TestContactInfoSearchRes, err error) | ||||
| 	GetById(ctx context.Context, Id uint) (res *model.TestContactInfoInfoRes, err error) | ||||
| 	Add(ctx context.Context, req *test.TestContactInfoAddReq) (err error) | ||||
| 	Edit(ctx context.Context, req *test.TestContactInfoEditReq) (err error) | ||||
| 	Delete(ctx context.Context, Id []uint) (err error) | ||||
| } | ||||
|  | ||||
| var localTestContactInfo ITestContactInfo | ||||
|  | ||||
| func TestContactInfo() ITestContactInfo { | ||||
| 	if localTestContactInfo == nil { | ||||
| 		panic("implement not found for interface ITestContactInfo, forgot register?") | ||||
| 	} | ||||
| 	return localTestContactInfo | ||||
| } | ||||
|  | ||||
| func RegisterTestContactInfo(i ITestContactInfo) { | ||||
| 	localTestContactInfo = i | ||||
| } | ||||
							
								
								
									
										37
									
								
								internal/app/test/service/test_follow_info.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								internal/app/test/service/test_follow_info.go
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,37 @@ | ||||
| // ========================================================================== | ||||
| // GFast自动生成service操作代码。 | ||||
| // 生成日期:2023-09-01 16:38:07 | ||||
| // 生成路径: internal/app/test/service/test_follow_info.go | ||||
| // 生成人:yqq | ||||
| // desc:跟进信息 | ||||
| // company:云南奇讯科技有限公司 | ||||
| // ========================================================================== | ||||
|  | ||||
| package service | ||||
|  | ||||
| import ( | ||||
| 	"context" | ||||
| 	"github.com/tiger1103/gfast/v3/api/v1/test" | ||||
| 	"github.com/tiger1103/gfast/v3/internal/app/test/model" | ||||
| ) | ||||
|  | ||||
| type ITestFollowInfo interface { | ||||
| 	List(ctx context.Context, req *test.TestFollowInfoSearchReq) (res *test.TestFollowInfoSearchRes, err error) | ||||
| 	GetById(ctx context.Context, Id uint) (res *model.TestFollowInfoInfoRes, err error) | ||||
| 	Add(ctx context.Context, req *test.TestFollowInfoAddReq) (err error) | ||||
| 	Edit(ctx context.Context, req *test.TestFollowInfoEditReq) (err error) | ||||
| 	Delete(ctx context.Context, Id []uint) (err error) | ||||
| } | ||||
|  | ||||
| var localTestFollowInfo ITestFollowInfo | ||||
|  | ||||
| func TestFollowInfo() ITestFollowInfo { | ||||
| 	if localTestFollowInfo == nil { | ||||
| 		panic("implement not found for interface ITestFollowInfo, forgot register?") | ||||
| 	} | ||||
| 	return localTestFollowInfo | ||||
| } | ||||
|  | ||||
| func RegisterTestFollowInfo(i ITestFollowInfo) { | ||||
| 	localTestFollowInfo = i | ||||
| } | ||||
							
								
								
									
										37
									
								
								internal/app/test/service/test_owner_info.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								internal/app/test/service/test_owner_info.go
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,37 @@ | ||||
| // ========================================================================== | ||||
| // GFast自动生成service操作代码。 | ||||
| // 生成日期:2023-09-01 17:51:42 | ||||
| // 生成路径: internal/app/test/service/test_owner_info.go | ||||
| // 生成人:yqq | ||||
| // desc:业主方基本情况 | ||||
| // company:云南奇讯科技有限公司 | ||||
| // ========================================================================== | ||||
|  | ||||
| package service | ||||
|  | ||||
| import ( | ||||
| 	"context" | ||||
| 	"github.com/tiger1103/gfast/v3/api/v1/test" | ||||
| 	"github.com/tiger1103/gfast/v3/internal/app/test/model" | ||||
| ) | ||||
|  | ||||
| type ITestOwnerInfo interface { | ||||
| 	List(ctx context.Context, req *test.TestOwnerInfoSearchReq) (res *test.TestOwnerInfoSearchRes, err error) | ||||
| 	GetById(ctx context.Context, Id uint) (res *model.TestOwnerInfoInfoRes, err error) | ||||
| 	Add(ctx context.Context, req *test.TestOwnerInfoAddReq) (err error) | ||||
| 	Edit(ctx context.Context, req *test.TestOwnerInfoEditReq) (err error) | ||||
| 	Delete(ctx context.Context, Id []uint) (err error) | ||||
| } | ||||
|  | ||||
| var localTestOwnerInfo ITestOwnerInfo | ||||
|  | ||||
| func TestOwnerInfo() ITestOwnerInfo { | ||||
| 	if localTestOwnerInfo == nil { | ||||
| 		panic("implement not found for interface ITestOwnerInfo, forgot register?") | ||||
| 	} | ||||
| 	return localTestOwnerInfo | ||||
| } | ||||
|  | ||||
| func RegisterTestOwnerInfo(i ITestOwnerInfo) { | ||||
| 	localTestOwnerInfo = i | ||||
| } | ||||
							
								
								
									
										37
									
								
								internal/app/test/service/test_project_info.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								internal/app/test/service/test_project_info.go
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,37 @@ | ||||
| // ========================================================================== | ||||
| // GFast自动生成service操作代码。 | ||||
| // 生成日期:2023-09-01 16:15:09 | ||||
| // 生成路径: internal/app/test/service/test_project_info.go | ||||
| // 生成人:yqq | ||||
| // desc:项目备案信息 | ||||
| // company:云南奇讯科技有限公司 | ||||
| // ========================================================================== | ||||
|  | ||||
| package service | ||||
|  | ||||
| import ( | ||||
| 	"context" | ||||
| 	"github.com/tiger1103/gfast/v3/api/v1/test" | ||||
| 	"github.com/tiger1103/gfast/v3/internal/app/test/model" | ||||
| ) | ||||
|  | ||||
| type ITestProjectInfo interface { | ||||
| 	List(ctx context.Context, req *test.TestProjectInfoSearchReq) (res *test.TestProjectInfoSearchRes, err error) | ||||
| 	GetById(ctx context.Context, Id uint) (res *model.TestProjectInfoInfoRes, err error) | ||||
| 	Add(ctx context.Context, req *test.TestProjectInfoAddReq) (err error) | ||||
| 	Edit(ctx context.Context, req *test.TestProjectInfoEditReq) (err error) | ||||
| 	Delete(ctx context.Context, Id []uint) (err error) | ||||
| } | ||||
|  | ||||
| var localTestProjectInfo ITestProjectInfo | ||||
|  | ||||
| func TestProjectInfo() ITestProjectInfo { | ||||
| 	if localTestProjectInfo == nil { | ||||
| 		panic("implement not found for interface ITestProjectInfo, forgot register?") | ||||
| 	} | ||||
| 	return localTestProjectInfo | ||||
| } | ||||
|  | ||||
| func RegisterTestProjectInfo(i ITestProjectInfo) { | ||||
| 	localTestProjectInfo = i | ||||
| } | ||||
		Reference in New Issue
	
	Block a user