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

17 lines
594 B
Go

package repository
import "context"
type thirdCorpInfoRepository interface {
QueryPage(ctx context.Context, page, size int) *[]FThirdCorpInfoDO
FindById(ctx context.Context, id uint64) *FThirdCorpInfoDO
Count(ctx context.Context) int64
Create(ctx context.Context, data *FThirdCorpInfoDO) error
UpdateById(ctx context.Context, data FThirdCorpInfoDO) error
UpdateStatusById(ctx context.Context, id uint64, state int, operator string) error
deleteById(ctx context.Context, id uint64, operator string) error
}
var ThirdCorpInfo thirdCorpInfoRepository = new(thirdCorpInfoRepositoryImpl)