dao

package
v0.0.0-...-c47cd45 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: MulanPSL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectDbfactroyDAO

func InjectDbfactroyDAO(s *DbfactroyDAO)

func LoadDbfactroyDAO

func LoadDbfactroyDAO() baseiface.ISingleton

Types

type DbfactroyDAO

type DbfactroyDAO struct {
	basedto.BaseEntitySingle
	basedao.BaseDao
}
var InstDbfactroyDAO DbfactroyDAO

func FindBeanDbfactroyDAO

func FindBeanDbfactroyDAO() *DbfactroyDAO

func NewDbfactroyDAO

func NewDbfactroyDAO() *DbfactroyDAO

func (*DbfactroyDAO) Count

func (this *DbfactroyDAO) Count(param *page.PageRequest) (int, error)

@title 函数名称: Count @description : 计算符合条件的记录总数!IchubPageRequest通用条件

@auth 作者: leijianming@163.com 时间: 2024-07-02 13:47:40 @param 输入参数名: param *page.PageRequest @return 返回参数名: int, error

func (*DbfactroyDAO) DeleteById

func (this *DbfactroyDAO) DeleteById(Id int32) error

@title 函数名称: DeleteById @description : 根据主键Id 删除记录

@auth 作者: leijianming@163.com 时间: 2024-07-02 13:47:40 @param 输入参数名: Id int32 @return 返回参数名: error

func (*DbfactroyDAO) FindById

func (this *DbfactroyDAO) FindById(Id int32) (entity *model.Dbfactroy, found bool, err error)

@title 函数名称: FindById @description : 根据主键Id 查询记录

@auth 作者: leijianming@163.com 时间: 2024-07-02 13:47:40 @param 输入参数名: Id int32 @return 返回参数名: entity *model.Dbfactroy, found bool, err error

func (*DbfactroyDAO) FindByIds

func (this *DbfactroyDAO) FindByIds(pks string) (*[]model.Dbfactroy, error)

@title 函数名称: FindByIds @description : 根据主键Id 查询多条记录; FindByIds("1,36,39")

@auth 作者: leijianming@163.com 时间: 2024-07-02 13:47:40 @param 输入参数名: pks string @return 返回参数名: *[]model.Dbfactroy,error

func (*DbfactroyDAO) FindData

func (this *DbfactroyDAO) FindData(result *basedto.IchubResult) *model.Dbfactroy

func (*DbfactroyDAO) FindDataList

func (this *DbfactroyDAO) FindDataList(result *page.PageResult) *[]model.Dbfactroy

func (*DbfactroyDAO) Insert

func (this *DbfactroyDAO) Insert(entity *model.Dbfactroy) (int32, error)

@title 函数名称: Insert @description : 新增记录 @auth 作者: leijianming@163.com 时间: 2024-07-02 13:47:40 @param 输入参数名: entity *model.Dbfactroy @return 返回参数名: int32,error

func (*DbfactroyDAO) Query

func (this *DbfactroyDAO) Query(param *page.PageRequest) *page.PageResult

@title 函数名称: Query @description : 查询符合条件的记录!通用条件分页

@auth 作者: leijianming@163.com 时间: 2024-07-02 13:47:40 @param 输入参数名: param *page.PageRequest @return 返回参数名: *page.PageResult

func (*DbfactroyDAO) Save

func (this *DbfactroyDAO) Save(entity *model.Dbfactroy) (int32, error)

@title 函数名称: Save @description : 保存记录

@auth 作者: leijianming@163.com 时间: 2024-07-02 13:47:40 @param 输入参数名: entity *model.Dbfactroy @return 返回参数名: int32,error

func (*DbfactroyDAO) Update

func (this *DbfactroyDAO) Update(entity *model.Dbfactroy) (int32, error)

@title 函数名称: Update @description : 修改记录

@auth 作者: leijianming@163.com 时间: 2024-07-02 13:47:40 @param 输入参数名: entity *model.Dbfactroy @return 返回参数名: int32,error

func (*DbfactroyDAO) UpdateMap

func (this *DbfactroyDAO) UpdateMap(Id int32, maps map[string]interface{}) (int32, error)

@title 函数名称: UpdateMap @description : 根据主键Id,map修改指定字段

@auth 作者: leijianming@163.com 时间: 2024-07-02 13:47:40 @param 输入参数名: Id int64,entity map[string]interface{} @return 返回参数名: int64,error

func (*DbfactroyDAO) UpdateNotNull

func (this *DbfactroyDAO) UpdateNotNull(Id int32, maps map[string]interface{}) (int32, error)

Jump to

Keyboard shortcuts

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