dao

package
v0.0.0-...-a1f72da Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: MulanPSL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceModelDao

type DeviceModelDao struct {
	*dbUtils.BaseDao
}

func NewDeviceModelDao

func NewDeviceModelDao() *DeviceModelDao

func (*DeviceModelDao) Delete

func (this *DeviceModelDao) Delete(id int64) bool

func (*DeviceModelDao) GetAll

func (this *DeviceModelDao) GetAll() []models.DeviceModel

func (*DeviceModelDao) SearchPageList

func (this *DeviceModelDao) SearchPageList(pageIndex int, pageSize int, manufactorId int) *helper.QueryResult

type UserGroupDao

type UserGroupDao struct {
	*dbUtils.BaseDao
}

func NewUserGroupDao

func NewUserGroupDao() *UserGroupDao

func (*UserGroupDao) GetUserGroupsByIds

func (this *UserGroupDao) GetUserGroupsByIds(ids []int) []models.UserGroup

func (*UserGroupDao) SearchPageList

func (this *UserGroupDao) SearchPageList(pageIndex int, pageSize int) *helper.QueryResult

Jump to

Keyboard shortcuts

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