dao

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MulanPSL-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 TSysUserDAO

type TSysUserDAO struct {
}
var InstTSysUserDAO TSysUserDAO

func (*TSysUserDAO) CountByQueryParam

func (daoInst *TSysUserDAO) CountByQueryParam(queryParam dto.TSysUserQueryParam) (int32, error)

func (*TSysUserDAO) DeleteById

func (daoInst *TSysUserDAO) DeleteById(id int32) error

func (*TSysUserDAO) FindById

func (daoInst *TSysUserDAO) FindById(id int32) (entity *model.TSysUser, found bool)

根据主键int32 查询记录

func (*TSysUserDAO) FindByIds

func (daoInst *TSysUserDAO) FindByIds(pks string) *[]model.TSysUser

func (*TSysUserDAO) FindByQueryParam

func (daoInst *TSysUserDAO) FindByQueryParam(queryParam dto.TSysUserQueryParam) (*[]model.TSysUser, error)

查询符合条件的记录!queryParam通用条件分页

func (*TSysUserDAO) Insert

func (daoInst *TSysUserDAO) Insert(entity *model.TSysUser) (*model.TSysUser, error)

func (*TSysUserDAO) Save

func (daoInst *TSysUserDAO) Save(entity *model.TSysUser) (*model.TSysUser, error)

保存记录

func (*TSysUserDAO) Update

func (daoInst *TSysUserDAO) Update(entity *model.TSysUser) (*model.TSysUser, error)

func (*TSysUserDAO) UpdateNotNullProps

func (daoInst *TSysUserDAO) UpdateNotNullProps(entity *model.TSysUser) (*model.TSysUser, error)

Jump to

Keyboard shortcuts

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