user.go 775 字节
package service

import "gitlab.fjmaimaimai.com/allied-creation/allied-creation-cooperation/pkg/domain"

type UserService interface {
	UserFrom(companyId int64, orgId int64, userId int64) (*domain.User, error)             // 获取用户
	ReferrerFrom(companyId int64, orgId int64, userId int64) (*domain.Referrer, error)     // 获取推荐人
	UndertakerFrom(companyId int64, orgId int64, userId int64) (*domain.Undertaker, error) // 获取承接人
	RelevantFrom(companyId int64, orgId int64, userId int64) (*domain.Relevant, error)     // 获取相关人
	SalesmanFrom(companyId int64, orgId int64, userId int64) (*domain.Salesman, error)     // 获取业务员
	OperatorFrom(companyId int64, orgId int64, userId int64) (*domain.User, error)         // 获取操作人
}