Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddPostLogic ¶
AddPostLogic 添加岗位
Author: LiuFeiHua Date: 2023/12/18 17:04
func NewAddPostLogic ¶
func NewAddPostLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddPostLogic
func (*AddPostLogic) AddPost ¶
func (l *AddPostLogic) AddPost(in *sysclient.AddPostReq) (*sysclient.AddPostResp, error)
AddPost 添加岗位 1.根据postName查询岗位是否已存在,如果岗位已存在,则直接返回 2.根据postCode查询岗位是否已存在,如果岗位已存在,则直接返回 3.岗位不存在时,则直接添加岗位
type DeletePostLogic ¶
DeletePostLogic 删除岗位
Author: LiuFeiHua Date: 2023/12/18 17:04
func NewDeletePostLogic ¶
func NewDeletePostLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeletePostLogic
func (*DeletePostLogic) DeletePost ¶
func (l *DeletePostLogic) DeletePost(in *sysclient.DeletePostReq) (*sysclient.DeletePostResp, error)
DeletePost 删除岗位
type QueryPostDetailLogic ¶
QueryPostDetailLogic 查询岗位管理详情
Author: LiuFeiHua Date: 2024/5/30 11:28
func NewQueryPostDetailLogic ¶
func NewQueryPostDetailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryPostDetailLogic
func (*QueryPostDetailLogic) QueryPostDetail ¶
func (l *QueryPostDetailLogic) QueryPostDetail(in *sysclient.QueryPostDetailReq) (*sysclient.QueryPostDetailResp, error)
QueryPostDetail 查询岗位管理详情 1.判断岗位信息是否存在
type QueryPostListLogic ¶
QueryPostListLogic 查询岗位列表
Author: LiuFeiHua Date: 2023/12/18 17:05
func NewQueryPostListLogic ¶
func NewQueryPostListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryPostListLogic
func (*QueryPostListLogic) QueryPostList ¶
func (l *QueryPostListLogic) QueryPostList(in *sysclient.QueryPostListReq) (*sysclient.QueryPostListResp, error)
QueryPostList 查询岗位列表
type UpdatePostLogic ¶
UpdatePostLogic 更新岗位信息
Author: LiuFeiHua Date: 2023/12/18 17:06
func NewUpdatePostLogic ¶
func NewUpdatePostLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdatePostLogic
func (*UpdatePostLogic) UpdatePost ¶
func (l *UpdatePostLogic) UpdatePost(in *sysclient.UpdatePostReq) (*sysclient.UpdatePostResp, error)
UpdatePost 更新岗位信息 1.判断岗位信息是否存在 2.查询postName是否被占用,如果被占用,则直接返回 3.查询根据postCode是否被占用,如果被占用,则直接返回 4.岗位存在时,则直接更新岗位
type UpdatePostStatusLogic ¶
UpdatePostStatusLogic 更新岗位管理状态
Author: LiuFeiHua Date: 2024/5/30 11:20
func NewUpdatePostStatusLogic ¶
func NewUpdatePostStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdatePostStatusLogic
func (*UpdatePostStatusLogic) UpdatePostStatus ¶
func (l *UpdatePostStatusLogic) UpdatePostStatus(in *sysclient.UpdatePostStatusReq) (*sysclient.UpdatePostStatusResp, error)
UpdatePostStatus 更新岗位管理状态