2023-06-04 22:54:54 +08:00
|
|
|
package repository
|
|
|
|
|
2023-06-04 23:26:48 +08:00
|
|
|
import "code.mylomen.com/syj/lib/context"
|
2023-06-04 22:54:54 +08:00
|
|
|
|
|
|
|
type thirdCorpInfoRepository interface {
|
|
|
|
QueryPage(ctx context.GormWithZap, page, size int) *[]FThirdCorpInfoDO
|
|
|
|
FindById(ctx context.GormWithZap, id uint64) *FThirdCorpInfoDO
|
|
|
|
Count(ctx context.GormWithZap) int64
|
|
|
|
|
|
|
|
Create(ctx context.GormWithZap, data *FThirdCorpInfoDO) error
|
|
|
|
UpdateById(ctx context.GormWithZap, data FThirdCorpInfoDO) error
|
|
|
|
UpdateStatusById(ctx context.GormWithZap, id uint64, state int, operator string) error
|
|
|
|
deleteById(ctx context.GormWithZap, id uint64, operator string) error
|
|
|
|
}
|
|
|
|
|
|
|
|
var ThirdCorpInfo thirdCorpInfoRepository = new(thirdCorpInfoRepositoryImpl)
|