Documentation ¶
Index ¶
- func ToGroupInfoPb(ro *relationDB.DmGroupInfo) *dm.GroupInfo
- type GroupDeviceMultiCreateLogic
- type GroupDeviceMultiDeleteLogic
- type GroupDeviceMultiUpdateLogic
- type GroupInfoCreateLogic
- type GroupInfoDeleteLogic
- type GroupInfoIndexLogic
- type GroupInfoMultiCreateLogic
- type GroupInfoReadLogic
- type GroupInfoUpdateLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToGroupInfoPb ¶
func ToGroupInfoPb(ro *relationDB.DmGroupInfo) *dm.GroupInfo
Types ¶
type GroupDeviceMultiCreateLogic ¶
type GroupDeviceMultiCreateLogic struct { logx.Logger GdDB *relationDB.GroupDeviceRepo // contains filtered or unexported fields }
func NewGroupDeviceMultiCreateLogic ¶
func NewGroupDeviceMultiCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GroupDeviceMultiCreateLogic
func (*GroupDeviceMultiCreateLogic) GroupDeviceMultiCreate ¶
func (l *GroupDeviceMultiCreateLogic) GroupDeviceMultiCreate(in *dm.GroupDeviceMultiSaveReq) (*dm.Empty, error)
创建分组设备
type GroupDeviceMultiDeleteLogic ¶
type GroupDeviceMultiDeleteLogic struct { logx.Logger GdDB *relationDB.GroupDeviceRepo // contains filtered or unexported fields }
func NewGroupDeviceMultiDeleteLogic ¶
func NewGroupDeviceMultiDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GroupDeviceMultiDeleteLogic
func (*GroupDeviceMultiDeleteLogic) GroupDeviceMultiDelete ¶
func (l *GroupDeviceMultiDeleteLogic) GroupDeviceMultiDelete(in *dm.GroupDeviceMultiDeleteReq) (*dm.Empty, error)
删除分组设备
type GroupDeviceMultiUpdateLogic ¶
func NewGroupDeviceMultiUpdateLogic ¶
func NewGroupDeviceMultiUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GroupDeviceMultiUpdateLogic
func (*GroupDeviceMultiUpdateLogic) GroupDeviceMultiUpdate ¶
func (l *GroupDeviceMultiUpdateLogic) GroupDeviceMultiUpdate(in *dm.GroupDeviceMultiSaveReq) (*dm.Empty, error)
更新分组设备
type GroupInfoCreateLogic ¶
type GroupInfoCreateLogic struct { logx.Logger GiDB *relationDB.GroupInfoRepo // contains filtered or unexported fields }
func NewGroupInfoCreateLogic ¶
func NewGroupInfoCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GroupInfoCreateLogic
func (*GroupInfoCreateLogic) CheckGroupInfo ¶
func (l *GroupInfoCreateLogic) CheckGroupInfo(in *dm.GroupInfo) (bool, error)
发现返回true 没有返回false
func (*GroupInfoCreateLogic) CheckGroupLevel ¶
func (l *GroupInfoCreateLogic) CheckGroupLevel(ID int64, level int64) (bool, error)
检查当前分组嵌套层数是否超限,是返回true 否则返回false
func (*GroupInfoCreateLogic) GroupInfoCreate ¶
创建分组
type GroupInfoDeleteLogic ¶
type GroupInfoDeleteLogic struct { logx.Logger GiDB *relationDB.GroupInfoRepo // contains filtered or unexported fields }
func NewGroupInfoDeleteLogic ¶
func NewGroupInfoDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GroupInfoDeleteLogic
func (*GroupInfoDeleteLogic) GroupInfoDelete ¶
删除分组
type GroupInfoIndexLogic ¶
type GroupInfoIndexLogic struct { logx.Logger GiDB *relationDB.GroupInfoRepo // contains filtered or unexported fields }
func NewGroupInfoIndexLogic ¶
func NewGroupInfoIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GroupInfoIndexLogic
func (*GroupInfoIndexLogic) GroupInfoIndex ¶
func (l *GroupInfoIndexLogic) GroupInfoIndex(in *dm.GroupInfoIndexReq) (*dm.GroupInfoIndexResp, error)
获取分组信息列表
type GroupInfoMultiCreateLogic ¶ added in v1.0.6
func NewGroupInfoMultiCreateLogic ¶ added in v1.0.6
func NewGroupInfoMultiCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GroupInfoMultiCreateLogic
func (*GroupInfoMultiCreateLogic) GroupInfoMultiCreate ¶ added in v1.0.6
func (l *GroupInfoMultiCreateLogic) GroupInfoMultiCreate(in *dm.GroupInfoMultiCreateReq) (*dm.Empty, error)
type GroupInfoReadLogic ¶
type GroupInfoReadLogic struct { logx.Logger GiDB *relationDB.GroupInfoRepo // contains filtered or unexported fields }
func NewGroupInfoReadLogic ¶
func NewGroupInfoReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GroupInfoReadLogic
func (*GroupInfoReadLogic) GroupInfoRead ¶
func (l *GroupInfoReadLogic) GroupInfoRead(in *dm.WithIDChildren) (*dm.GroupInfo, error)
获取分组信息详情
type GroupInfoUpdateLogic ¶
type GroupInfoUpdateLogic struct { logx.Logger GiDB *relationDB.GroupInfoRepo // contains filtered or unexported fields }
func NewGroupInfoUpdateLogic ¶
func NewGroupInfoUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GroupInfoUpdateLogic
func (*GroupInfoUpdateLogic) GroupInfoUpdate ¶
更新分组
Source Files ¶
Click to show internal directories.
Click to hide internal directories.