dao

package
v0.0.0-...-23f7283 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmployeeDAO

type EmployeeDAO struct {
	basedao.BaseDao
}
var InstEmployeeDAO EmployeeDAO

func (*EmployeeDAO) Count

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

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

@auth 作者: leijianming@163.com 时间: 2024-03-26 19:34:46 @param 输入参数名: param *page.PageRequest @return 返回参数名: int, error

func (*EmployeeDAO) DeleteById

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

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

@auth 作者: leijianming@163.com 时间: 2024-03-26 19:34:46 @param 输入参数名: Id int32 @return 返回参数名: error

func (*EmployeeDAO) FindById

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

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

@auth 作者: leijianming@163.com 时间: 2024-03-26 19:34:46 @param 输入参数名: Id int32 @return 返回参数名: entity *model.Employee, found bool, err error

func (*EmployeeDAO) FindByIds

func (this *EmployeeDAO) FindByIds(pks string) (*[]model.Employee, error)

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

@auth 作者: leijianming@163.com 时间: 2024-03-26 19:34:46 @param 输入参数名: pks string @return 返回参数名: *[]model.Employee,error

func (*EmployeeDAO) FindData

func (this *EmployeeDAO) FindData(result *basedto.IchubResult) *model.Employee

func (*EmployeeDAO) FindDataList

func (this *EmployeeDAO) FindDataList(result *page.PageResult) *[]model.Employee

func (*EmployeeDAO) Insert

func (this *EmployeeDAO) Insert(entity *model.Employee) (int32, error)

@title 函数名称: Insert @description : 新增记录 @auth 作者: leijianming@163.com 时间: 2024-03-26 19:34:46 @param 输入参数名: entity *model.Employee @return 返回参数名: int32,error

func (*EmployeeDAO) Query

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

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

@auth 作者: leijianming@163.com 时间: 2024-03-26 19:34:46 @param 输入参数名: param *page.PageRequest @return 返回参数名: *page.PageResult

func (*EmployeeDAO) Save

func (this *EmployeeDAO) Save(entity *model.Employee) (int32, error)

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

@auth 作者: leijianming@163.com 时间: 2024-03-26 19:34:46 @param 输入参数名: entity *model.Employee @return 返回参数名: int32,error

func (*EmployeeDAO) Update

func (this *EmployeeDAO) Update(entity *model.Employee) (int32, error)

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

@auth 作者: leijianming@163.com 时间: 2024-03-26 19:34:46 @param 输入参数名: entity *model.Employee @return 返回参数名: int32,error

func (*EmployeeDAO) UpdateMap

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

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

@auth 作者: leijianming@163.com 时间: 2024-03-26 19:34:46 @param 输入参数名: Id int64,entity map[string]interface{} @return 返回参数名: int64,error

func (*EmployeeDAO) UpdateNotNull

func (this *EmployeeDAO) 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