Documentation ¶
Index ¶
- type EmployeeDAO
- func (this *EmployeeDAO) Count(param *page.PageRequest) (int, error)
- func (this *EmployeeDAO) DeleteById(Id int32) error
- func (this *EmployeeDAO) FindById(Id int32) (entity *model.Employee, found bool, err error)
- func (this *EmployeeDAO) FindByIds(pks string) (*[]model.Employee, error)
- func (this *EmployeeDAO) FindData(result *basedto.IchubResult) *model.Employee
- func (this *EmployeeDAO) FindDataList(result *page.PageResult) *[]model.Employee
- func (this *EmployeeDAO) Insert(entity *model.Employee) (int32, error)
- func (this *EmployeeDAO) Query(param *page.PageRequest) *page.PageResult
- func (this *EmployeeDAO) Save(entity *model.Employee) (int32, error)
- func (this *EmployeeDAO) Update(entity *model.Employee) (int32, error)
- func (this *EmployeeDAO) UpdateMap(Id int32, maps map[string]interface{}) (int32, error)
- func (this *EmployeeDAO) UpdateNotNull(Id int32, maps map[string]interface{}) (int32, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmployeeDAO ¶
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 ¶
@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)