Documentation ¶
Index ¶
- type IssueState
- func (is *IssueState) CreateIssueState(req *apistructs.IssueStateCreateRequest) (*dao.IssueState, error)
- func (is *IssueState) DeleteIssueState(stateID int64) error
- func (is *IssueState) GetIssueStates(req *apistructs.IssueStatesGetRequest) ([]apistructs.IssueTypeState, error)
- func (is *IssueState) GetIssueStatesBelong(req *apistructs.IssueStateRelationGetRequest) ([]apistructs.IssueStateState, error)
- func (is *IssueState) GetIssueStatesRelations(req apistructs.IssueStateRelationGetRequest) ([]apistructs.IssueStateRelation, error)
- func (is *IssueState) GetIssuesStatesByID(id int64) (*apistructs.IssueStatus, error)
- func (is *IssueState) GetIssuesStatesNameByID(id []int64) ([]apistructs.IssueStatus, error)
- func (is *IssueState) UpdateIssueStates(updateReq *apistructs.IssueStateUpdateRequest) (apistructs.IssueType, error)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IssueState ¶
type IssueState struct {
// contains filtered or unexported fields
}
IssueState issue state service 对象
func (*IssueState) CreateIssueState ¶
func (is *IssueState) CreateIssueState(req *apistructs.IssueStateCreateRequest) (*dao.IssueState, error)
CreateIssueState 创建事件状态请求
func (*IssueState) DeleteIssueState ¶
func (is *IssueState) DeleteIssueState(stateID int64) error
DeleteIssueState 删除事件状态请求
func (*IssueState) GetIssueStates ¶
func (is *IssueState) GetIssueStates(req *apistructs.IssueStatesGetRequest) ([]apistructs.IssueTypeState, error)
GetIssueStates 获取状态列表请求
func (*IssueState) GetIssueStatesBelong ¶
func (is *IssueState) GetIssueStatesBelong(req *apistructs.IssueStateRelationGetRequest) ([]apistructs.IssueStateState, error)
func (*IssueState) GetIssueStatesRelations ¶
func (is *IssueState) GetIssueStatesRelations(req apistructs.IssueStateRelationGetRequest) ([]apistructs.IssueStateRelation, error)
GetIssueStatesRelations 获取工作流
func (*IssueState) GetIssuesStatesByID ¶
func (is *IssueState) GetIssuesStatesByID(id int64) (*apistructs.IssueStatus, error)
func (*IssueState) GetIssuesStatesNameByID ¶
func (is *IssueState) GetIssuesStatesNameByID(id []int64) ([]apistructs.IssueStatus, error)
func (*IssueState) UpdateIssueStates ¶
func (is *IssueState) UpdateIssueStates(updateReq *apistructs.IssueStateUpdateRequest) (apistructs.IssueType, error)
UpdateIssueStates 更新工作流
Click to show internal directories.
Click to hide internal directories.