Documentation ¶
Index ¶
- func AreaInfosToPb(ctx context.Context, svcCtx *svc.ServiceContext, pos []*relationDB.SysAreaInfo) (ret []*sys.AreaInfo)
- func FillProjectAreaCount(ctx context.Context, svcCtx *svc.ServiceContext, projectID int64)
- func TransPoToPb(ctx context.Context, po *relationDB.SysAreaInfo, svcCtx *svc.ServiceContext) *sys.AreaInfo
- type AreaInfoCreateLogic
- type AreaInfoDeleteLogic
- type AreaInfoIndexLogic
- type AreaInfoReadLogic
- type AreaInfoUpdateLogic
- type AreaProfileIndexLogic
- type AreaProfileReadLogic
- type AreaProfileUpdateLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AreaInfosToPb ¶
func AreaInfosToPb(ctx context.Context, svcCtx *svc.ServiceContext, pos []*relationDB.SysAreaInfo) (ret []*sys.AreaInfo)
func FillProjectAreaCount ¶
func FillProjectAreaCount(ctx context.Context, svcCtx *svc.ServiceContext, projectID int64)
func TransPoToPb ¶ added in v1.0.1
func TransPoToPb(ctx context.Context, po *relationDB.SysAreaInfo, svcCtx *svc.ServiceContext) *sys.AreaInfo
Types ¶
type AreaInfoCreateLogic ¶
func NewAreaInfoCreateLogic ¶
func NewAreaInfoCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AreaInfoCreateLogic
func (*AreaInfoCreateLogic) AreaInfoCreate ¶
func (l *AreaInfoCreateLogic) AreaInfoCreate(in *sys.AreaInfo) (*sys.AreaWithID, error)
新增区域
type AreaInfoDeleteLogic ¶
func NewAreaInfoDeleteLogic ¶
func NewAreaInfoDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AreaInfoDeleteLogic
func (*AreaInfoDeleteLogic) AreaInfoDelete ¶
func (l *AreaInfoDeleteLogic) AreaInfoDelete(in *sys.AreaWithID) (*sys.Empty, error)
删除区域
type AreaInfoIndexLogic ¶
type AreaInfoIndexLogic struct { logx.Logger AiDB *relationDB.AreaInfoRepo // contains filtered or unexported fields }
func NewAreaInfoIndexLogic ¶
func NewAreaInfoIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AreaInfoIndexLogic
func (*AreaInfoIndexLogic) AreaInfoIndex ¶
func (l *AreaInfoIndexLogic) AreaInfoIndex(in *sys.AreaInfoIndexReq) (*sys.AreaInfoIndexResp, error)
获取区域信息列表
type AreaInfoReadLogic ¶
type AreaInfoReadLogic struct { logx.Logger AiDB *relationDB.AreaInfoRepo // contains filtered or unexported fields }
func NewAreaInfoReadLogic ¶
func NewAreaInfoReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AreaInfoReadLogic
func (*AreaInfoReadLogic) AreaInfoRead ¶
func (l *AreaInfoReadLogic) AreaInfoRead(in *sys.AreaInfoReadReq) (*sys.AreaInfo, error)
获取区域信息详情
type AreaInfoUpdateLogic ¶
type AreaInfoUpdateLogic struct { logx.Logger AiDB *relationDB.AreaInfoRepo // contains filtered or unexported fields }
func NewAreaInfoUpdateLogic ¶
func NewAreaInfoUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AreaInfoUpdateLogic
func (*AreaInfoUpdateLogic) AreaInfoUpdate ¶
更新区域
type AreaProfileIndexLogic ¶
func NewAreaProfileIndexLogic ¶
func NewAreaProfileIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AreaProfileIndexLogic
func (*AreaProfileIndexLogic) AreaProfileIndex ¶
func (l *AreaProfileIndexLogic) AreaProfileIndex(in *sys.AreaProfileIndexReq) (*sys.AreaProfileIndexResp, error)
type AreaProfileReadLogic ¶
func NewAreaProfileReadLogic ¶
func NewAreaProfileReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AreaProfileReadLogic
func (*AreaProfileReadLogic) AreaProfileRead ¶
func (l *AreaProfileReadLogic) AreaProfileRead(in *sys.AreaProfileReadReq) (*sys.AreaProfile, error)
type AreaProfileUpdateLogic ¶
func NewAreaProfileUpdateLogic ¶
func NewAreaProfileUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AreaProfileUpdateLogic
func (*AreaProfileUpdateLogic) AreaProfileUpdate ¶
func (l *AreaProfileUpdateLogic) AreaProfileUpdate(in *sys.AreaProfile) (*sys.Empty, error)
Click to show internal directories.
Click to hide internal directories.