mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-27 03:20:25 +08:00
20 lines
509 B
Go
20 lines
509 B
Go
|
|
package repository
|
||
|
|
|
||
|
|
import (
|
||
|
|
"mayfly-go/base/model"
|
||
|
|
"mayfly-go/server/devops/domain/entity"
|
||
|
|
)
|
||
|
|
|
||
|
|
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)
|
||
|
|
}
|