Documentation ¶
Index ¶
- func ProjectDelete(ctx context.Context, tx *gorm.DB, id int64) error
- func ProjectInfoToPb(ctx context.Context, svcCtx *svc.ServiceContext, po *relationDB.SysProjectInfo) *sys.ProjectInfo
- type ProjectInfoCreateLogic
- type ProjectInfoDeleteLogic
- type ProjectInfoIndexLogic
- type ProjectInfoReadLogic
- type ProjectInfoUpdateLogic
- type ProjectProfileIndexLogic
- type ProjectProfileReadLogic
- type ProjectProfileUpdateLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProjectInfoToPb ¶
func ProjectInfoToPb(ctx context.Context, svcCtx *svc.ServiceContext, po *relationDB.SysProjectInfo) *sys.ProjectInfo
Types ¶
type ProjectInfoCreateLogic ¶
type ProjectInfoCreateLogic struct { logx.Logger PiDB *relationDB.ProjectInfoRepo // contains filtered or unexported fields }
func NewProjectInfoCreateLogic ¶
func NewProjectInfoCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ProjectInfoCreateLogic
func (*ProjectInfoCreateLogic) ProjectInfoCreate ¶
func (l *ProjectInfoCreateLogic) ProjectInfoCreate(in *sys.ProjectInfo) (*sys.ProjectWithID, error)
新增项目
type ProjectInfoDeleteLogic ¶
type ProjectInfoDeleteLogic struct { logx.Logger AiDB *relationDB.AreaInfoRepo PiDB *relationDB.ProjectInfoRepo // contains filtered or unexported fields }
func NewProjectInfoDeleteLogic ¶
func NewProjectInfoDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ProjectInfoDeleteLogic
func (*ProjectInfoDeleteLogic) ProjectInfoDelete ¶
func (l *ProjectInfoDeleteLogic) ProjectInfoDelete(in *sys.ProjectWithID) (*sys.Empty, error)
删除项目
type ProjectInfoIndexLogic ¶
type ProjectInfoIndexLogic struct { logx.Logger PiDB *relationDB.ProjectInfoRepo // contains filtered or unexported fields }
func NewProjectInfoIndexLogic ¶
func NewProjectInfoIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ProjectInfoIndexLogic
func (*ProjectInfoIndexLogic) ProjectInfoIndex ¶
func (l *ProjectInfoIndexLogic) ProjectInfoIndex(in *sys.ProjectInfoIndexReq) (*sys.ProjectInfoIndexResp, error)
获取项目信息列表
type ProjectInfoReadLogic ¶
type ProjectInfoReadLogic struct { logx.Logger PiDB *relationDB.ProjectInfoRepo // contains filtered or unexported fields }
func NewProjectInfoReadLogic ¶
func NewProjectInfoReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ProjectInfoReadLogic
func (*ProjectInfoReadLogic) ProjectInfoRead ¶
func (l *ProjectInfoReadLogic) ProjectInfoRead(in *sys.ProjectWithID) (*sys.ProjectInfo, error)
获取项目信息详情
type ProjectInfoUpdateLogic ¶
type ProjectInfoUpdateLogic struct { logx.Logger PiDB *relationDB.ProjectInfoRepo // contains filtered or unexported fields }
func NewProjectInfoUpdateLogic ¶
func NewProjectInfoUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ProjectInfoUpdateLogic
func (*ProjectInfoUpdateLogic) ProjectInfoUpdate ¶
func (l *ProjectInfoUpdateLogic) ProjectInfoUpdate(in *sys.ProjectInfo) (*sys.Empty, error)
更新项目
type ProjectProfileIndexLogic ¶
func NewProjectProfileIndexLogic ¶
func NewProjectProfileIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ProjectProfileIndexLogic
func (*ProjectProfileIndexLogic) ProjectProfileIndex ¶
func (l *ProjectProfileIndexLogic) ProjectProfileIndex(in *sys.ProjectProfileIndexReq) (*sys.ProjectProfileIndexResp, error)
type ProjectProfileReadLogic ¶
func NewProjectProfileReadLogic ¶
func NewProjectProfileReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ProjectProfileReadLogic
func (*ProjectProfileReadLogic) ProjectProfileRead ¶
func (l *ProjectProfileReadLogic) ProjectProfileRead(in *sys.ProjectProfileReadReq) (*sys.ProjectProfile, error)
type ProjectProfileUpdateLogic ¶
func NewProjectProfileUpdateLogic ¶
func NewProjectProfileUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ProjectProfileUpdateLogic
func (*ProjectProfileUpdateLogic) ProjectProfileUpdate ¶
func (l *ProjectProfileUpdateLogic) ProjectProfileUpdate(in *sys.ProjectProfile) (*sys.Empty, error)
Click to show internal directories.
Click to hide internal directories.