Versions in this module Expand all Collapse all v0 v0.0.2 Jan 24, 2025 Changes in this version + type AddDeptLogic struct + func NewAddDeptLogic(ctx context.Context, svcCtx *svc.ServiceContext) AddDeptLogic + func (l *AddDeptLogic) AddDept(req *types.AddDeptReq) (*types.AddDeptResp, error) + type DeleteDeptLogic struct + func NewDeleteDeptLogic(ctx context.Context, svcCtx *svc.ServiceContext) DeleteDeptLogic + func (l *DeleteDeptLogic) DeleteDept(req *types.DeleteDeptReq) (*types.DeleteDeptResp, error) + type QueryDeptDetailLogic struct + func NewQueryDeptDetailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryDeptDetailLogic + func (l *QueryDeptDetailLogic) QueryDeptDetail(req *types.QueryDeptDetailReq) (resp *types.QueryDeptDetailResp, err error) + type QueryDeptListLogic struct + func NewQueryDeptListLogic(ctx context.Context, svcCtx *svc.ServiceContext) QueryDeptListLogic + func (l *QueryDeptListLogic) QueryDeptList(req *types.QueryDeptListReq) (*types.QueryDeptListResp, error) + type UpdateDeptLogic struct + func NewUpdateDeptLogic(ctx context.Context, svcCtx *svc.ServiceContext) UpdateDeptLogic + func (l *UpdateDeptLogic) UpdateDept(req *types.UpdateDeptReq) (*types.UpdateDeptResp, error) + type UpdateDeptStatusLogic struct + func NewUpdateDeptStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateDeptStatusLogic + func (l *UpdateDeptStatusLogic) UpdateDeptStatus(req *types.UpdateDeptStatusReq) (resp *types.UpdateDeptStatusResp, err error) v0.0.1 May 9, 2024 Changes in this version + type DeptAddLogic struct + func NewDeptAddLogic(ctx context.Context, svcCtx *svc.ServiceContext) DeptAddLogic + func (l *DeptAddLogic) DeptAdd(req types.AddDeptReq) (*types.AddDeptResp, error) + type DeptDeleteLogic struct + func NewDeptDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) DeptDeleteLogic + func (l *DeptDeleteLogic) DeptDelete(req types.DeleteDeptReq) (*types.DeleteDeptResp, error) + type DeptListLogic struct + func NewDeptListLogic(ctx context.Context, svcCtx *svc.ServiceContext) DeptListLogic + func (l *DeptListLogic) DeptList(req types.ListDeptReq) (*types.ListDeptResp, error) + type DeptUpdateLogic struct + func NewDeptUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) DeptUpdateLogic + func (l *DeptUpdateLogic) DeptUpdate(req types.UpdateDeptReq) (*types.UpdateDeptResp, error)