dao

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InputDataDao

type InputDataDao struct {
	*gorm.DB
}

func NewInputDataDao

func NewInputDataDao(ctx context.Context) *InputDataDao

func (*InputDataDao) BatchCreateInputData

func (d *InputDataDao) BatchCreateInputData(in []*model.InputData) (err error)

func (*InputDataDao) CreateInputData

func (d *InputDataDao) CreateInputData(in *model.InputData) (err error)

func (*InputDataDao) ListInputData

func (d *InputDataDao) ListInputData() (in []*model.InputData, err error)

func (*InputDataDao) ListInputDataByDocIds

func (d *InputDataDao) ListInputDataByDocIds(docIds []int64) (in []*types.SearchItem, err error)

ListInputDataByDocIds 根据传进来的 docs id 获取所有的信息

func (*InputDataDao) UpdateInputDataByIds

func (d *InputDataDao) UpdateInputDataByIds(ids []int64) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL