departmentmanagelogic

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2024 License: AGPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DingSync func(ctx context.Context, svcCtx *svc.ServiceContext, jobID int64, df *payload.DataFrame) error

Functions

func DeptSyncAddDing added in v1.2.0

func DeptSyncAddDing(ctx context.Context, svcCtx *svc.ServiceContext, po *relationDB.SysDeptSyncJob) error

func DeptSyncDelDing added in v1.2.0

func DeptSyncDelDing(ctx context.Context, svcCtx *svc.ServiceContext, po *relationDB.SysDeptSyncJob) error

func FillChildren added in v1.2.0

func FillChildren(in *sys.DeptInfo, fsMap map[int64][]*sys.DeptInfo)

func FillFather

func FillFather(in *sys.DeptInfo, fsMap map[int64]*sys.DeptInfo)

func SyncDeptDing added in v1.2.0

func SyncDeptDing(ctx context.Context, cli *dingClient.DingTalk, info *relationDB.SysDeptInfo) error

func SyncDeptUserDing added in v1.2.0

func SyncDeptUserDing(ctx context.Context, svcCtx *svc.ServiceContext, syncedUserSet map[string]struct{}, cli *dingClient.DingTalk, info *relationDB.SysDeptInfo) error

Types

type DeptInfoCreateLogic

type DeptInfoCreateLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeptInfoCreateLogic

func NewDeptInfoCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptInfoCreateLogic

func (*DeptInfoCreateLogic) DeptInfoCreate

func (l *DeptInfoCreateLogic) DeptInfoCreate(in *sys.DeptInfo) (*sys.WithID, error)

type DeptInfoDeleteLogic

type DeptInfoDeleteLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeptInfoDeleteLogic

func NewDeptInfoDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptInfoDeleteLogic

func (*DeptInfoDeleteLogic) DeptInfoDelete

func (l *DeptInfoDeleteLogic) DeptInfoDelete(in *sys.WithID) (*sys.Empty, error)

type DeptInfoIndexLogic

type DeptInfoIndexLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeptInfoIndexLogic

func NewDeptInfoIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptInfoIndexLogic

func (*DeptInfoIndexLogic) DeptInfoIndex

type DeptInfoReadLogic

type DeptInfoReadLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeptInfoReadLogic

func NewDeptInfoReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptInfoReadLogic

func (*DeptInfoReadLogic) DeptInfoRead

func (l *DeptInfoReadLogic) DeptInfoRead(in *sys.DeptInfoReadReq) (*sys.DeptInfo, error)

type DeptInfoSyncLogic

type DeptInfoSyncLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeptInfoSyncLogic

func NewDeptInfoSyncLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptInfoSyncLogic

type DeptInfoUpdateLogic

type DeptInfoUpdateLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeptInfoUpdateLogic

func NewDeptInfoUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptInfoUpdateLogic

func (*DeptInfoUpdateLogic) DeptInfoUpdate

func (l *DeptInfoUpdateLogic) DeptInfoUpdate(in *sys.DeptInfo) (*sys.Empty, error)

type DeptRoleIndexLogic added in v1.1.0

type DeptRoleIndexLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeptRoleIndexLogic added in v1.1.0

func NewDeptRoleIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptRoleIndexLogic

func (*DeptRoleIndexLogic) DeptRoleIndex added in v1.1.0

type DeptRoleMultiCreateLogic added in v1.1.0

type DeptRoleMultiCreateLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeptRoleMultiCreateLogic added in v1.1.0

func NewDeptRoleMultiCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptRoleMultiCreateLogic

func (*DeptRoleMultiCreateLogic) DeptRoleMultiCreate added in v1.1.0

func (l *DeptRoleMultiCreateLogic) DeptRoleMultiCreate(in *sys.DeptRoleMultiSaveReq) (*sys.Empty, error)

type DeptRoleMultiDeleteLogic added in v1.1.0

type DeptRoleMultiDeleteLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeptRoleMultiDeleteLogic added in v1.1.0

func NewDeptRoleMultiDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptRoleMultiDeleteLogic

func (*DeptRoleMultiDeleteLogic) DeptRoleMultiDelete added in v1.1.0

func (l *DeptRoleMultiDeleteLogic) DeptRoleMultiDelete(in *sys.DeptRoleMultiSaveReq) (*sys.Empty, error)

type DeptSyncJobCreateLogic added in v1.2.0

type DeptSyncJobCreateLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeptSyncJobCreateLogic added in v1.2.0

func NewDeptSyncJobCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptSyncJobCreateLogic

func (*DeptSyncJobCreateLogic) DeptSyncJobCreate added in v1.2.0

func (l *DeptSyncJobCreateLogic) DeptSyncJobCreate(in *sys.DeptSyncJob) (*sys.WithID, error)

type DeptSyncJobDeleteLogic added in v1.2.0

type DeptSyncJobDeleteLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeptSyncJobDeleteLogic added in v1.2.0

func NewDeptSyncJobDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptSyncJobDeleteLogic

func (*DeptSyncJobDeleteLogic) DeptSyncJobDelete added in v1.2.0

func (l *DeptSyncJobDeleteLogic) DeptSyncJobDelete(in *sys.WithID) (*sys.Empty, error)

type DeptSyncJobExecuteLogic added in v1.2.0

type DeptSyncJobExecuteLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeptSyncJobExecuteLogic added in v1.2.0

func NewDeptSyncJobExecuteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptSyncJobExecuteLogic

func (*DeptSyncJobExecuteLogic) DeptSyncJobExecute added in v1.2.0

type DeptSyncJobIndexLogic added in v1.2.0

type DeptSyncJobIndexLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeptSyncJobIndexLogic added in v1.2.0

func NewDeptSyncJobIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptSyncJobIndexLogic

func (*DeptSyncJobIndexLogic) DeptSyncJobIndex added in v1.2.0

type DeptSyncJobReadLogic added in v1.2.0

type DeptSyncJobReadLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeptSyncJobReadLogic added in v1.2.0

func NewDeptSyncJobReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptSyncJobReadLogic

func (*DeptSyncJobReadLogic) DeptSyncJobRead added in v1.2.0

func (l *DeptSyncJobReadLogic) DeptSyncJobRead(in *sys.DeptSyncJobReadReq) (*sys.DeptSyncJob, error)

type DeptSyncJobUpdateLogic added in v1.2.0

type DeptSyncJobUpdateLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeptSyncJobUpdateLogic added in v1.2.0

func NewDeptSyncJobUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptSyncJobUpdateLogic

func (*DeptSyncJobUpdateLogic) DeptSyncJobUpdate added in v1.2.0

func (l *DeptSyncJobUpdateLogic) DeptSyncJobUpdate(in *sys.DeptSyncJob) (*sys.Empty, error)

type DeptUserIndexLogic added in v1.1.0

type DeptUserIndexLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeptUserIndexLogic added in v1.1.0

func NewDeptUserIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptUserIndexLogic

func (*DeptUserIndexLogic) DeptUserIndex added in v1.1.0

type DeptUserMultiCreateLogic added in v1.1.0

type DeptUserMultiCreateLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeptUserMultiCreateLogic added in v1.1.0

func NewDeptUserMultiCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptUserMultiCreateLogic

func (*DeptUserMultiCreateLogic) DeptUserMultiCreate added in v1.1.0

func (l *DeptUserMultiCreateLogic) DeptUserMultiCreate(in *sys.DeptUserMultiSaveReq) (*sys.Empty, error)

type DeptUserMultiDeleteLogic added in v1.1.0

type DeptUserMultiDeleteLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeptUserMultiDeleteLogic added in v1.1.0

func NewDeptUserMultiDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeptUserMultiDeleteLogic

func (*DeptUserMultiDeleteLogic) DeptUserMultiDelete added in v1.1.0

func (l *DeptUserMultiDeleteLogic) DeptUserMultiDelete(in *sys.DeptUserMultiSaveReq) (*sys.Empty, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL