18 lines
657 B
Go
Raw Normal View History

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 thirdAgentInfoRepository interface {
QueryPage(ctx context.GormWithZap, page, size int) *[]FThirdAgentInfoDO
FindById(ctx context.GormWithZap, id uint64) *FThirdAgentInfoDO
Count(ctx context.GormWithZap) int64
Create(ctx context.GormWithZap, data *FThirdAgentInfoDO) error
UpdateById(ctx context.GormWithZap, data FThirdAgentInfoDO) error
UpdateStatusById(ctx context.GormWithZap, id uint64, status int, operator string) error
deleteById(ctx context.GormWithZap, id uint64, operator string) error
}
var ThirdAgentInfo thirdAgentInfoRepository = new(thirdAgentInfoRepositoryImpl)