18 lines
604 B
Go
Raw Normal View History

2023-06-04 22:54:54 +08:00
package repository
2024-02-21 12:04:40 +08:00
import "context"
2023-06-04 22:54:54 +08:00
type thirdAgentInfoRepository interface {
2024-02-21 12:04:40 +08:00
QueryPage(ctx context.Context, page, size int) *[]FThirdAgentInfoDO
FindById(ctx context.Context, id uint64) *FThirdAgentInfoDO
Count(ctx context.Context) int64
2023-06-04 22:54:54 +08:00
2024-02-21 12:04:40 +08:00
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
2023-06-04 22:54:54 +08:00
2024-02-21 12:04:40 +08:00
deleteById(ctx context.Context, id uint64, operator string) error
2023-06-04 22:54:54 +08:00
}
var ThirdAgentInfo thirdAgentInfoRepository = new(thirdAgentInfoRepositoryImpl)