mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-02 23:40:24 +08:00
25 lines
635 B
Go
25 lines
635 B
Go
package repository
|
|
|
|
import (
|
|
"mayfly-go/internal/devops/domain/entity"
|
|
"mayfly-go/pkg/model"
|
|
)
|
|
|
|
type ProjectMemeber interface {
|
|
|
|
// 获取项目成员列表
|
|
ListMemeber(condition *entity.ProjectMember, toEntity interface{}, orderBy ...string)
|
|
|
|
Save(mp *entity.ProjectMember)
|
|
|
|
GetPageList(condition *entity.ProjectMember, pageParam *model.PageParam, toEntity interface{}, orderBy ...string) *model.PageResult
|
|
|
|
// 根据成员id和项目id删除关联关系
|
|
DeleteByPidMid(projectId, accountId uint64)
|
|
|
|
DeleteMems(projectId uint64)
|
|
|
|
// 是否存在指定的项目成员关联信息
|
|
IsExist(projectId, accountId uint64) bool
|
|
}
|