shaoyongjun 73c5062c45 to:sync
2024-02-21 12:04:40 +08:00

18 lines
604 B
Go

package repository
import "context"
type thirdAgentInfoRepository interface {
QueryPage(ctx context.Context, page, size int) *[]FThirdAgentInfoDO
FindById(ctx context.Context, id uint64) *FThirdAgentInfoDO
Count(ctx context.Context) int64
Create(ctx context.Context, data *FThirdAgentInfoDO) error
UpdateById(ctx context.Context, data FThirdAgentInfoDO) error
UpdateStatusById(ctx context.Context, id uint64, status int, operator string) error
deleteById(ctx context.Context, id uint64, operator string) error
}
var ThirdAgentInfo thirdAgentInfoRepository = new(thirdAgentInfoRepositoryImpl)