dao

package
v0.0.0-...-8b0f75f Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dao

type Dao struct {
	// contains filtered or unexported fields
}

func New

func New(storage *storage.Storage) *Dao

New dao instance

func (*Dao) DeleteDictionary

func (dao *Dao) DeleteDictionary(model entity.Dictionary) (int64, error)

func (*Dao) DeleteDictionaryBatch

func (dao *Dao) DeleteDictionaryBatch(model []entity.Dictionary) (int64, error)

func (*Dao) DeleteLogging

func (dao *Dao) DeleteLogging(model entity.Logging) (int64, error)

func (*Dao) DeletePermission

func (dao *Dao) DeletePermission(model entity.Permission) (int64, error)

func (*Dao) DeleteScopeSpace

func (dao *Dao) DeleteScopeSpace(model entity.ScopeSpace) (int64, error)

func (*Dao) DeleteScopeSpaceBatch

func (dao *Dao) DeleteScopeSpaceBatch(model []entity.ScopeSpace) (int64, error)

func (*Dao) DeleteUser

func (dao *Dao) DeleteUser(model entity.User) (int64, error)

func (*Dao) GetSession

func (dao *Dao) GetSession() *gobatis.Session

func (*Dao) InsertBatchDictionary

func (dao *Dao) InsertBatchDictionary(models []entity.Dictionary) (int64, int64, error)

func (*Dao) InsertBatchLogging

func (dao *Dao) InsertBatchLogging(models []entity.Logging) (int64, int64, error)

func (*Dao) InsertBatchPermission

func (dao *Dao) InsertBatchPermission(models []entity.Permission) (int64, int64, error)

func (*Dao) InsertBatchScopeSpace

func (dao *Dao) InsertBatchScopeSpace(models []entity.ScopeSpace) (int64, int64, error)

func (*Dao) InsertBatchUser

func (dao *Dao) InsertBatchUser(models []entity.User) (int64, int64, error)

func (*Dao) InsertDictionary

func (dao *Dao) InsertDictionary(model entity.Dictionary) (int64, int64, error)

func (*Dao) InsertLogging

func (dao *Dao) InsertLogging(model entity.Logging) (int64, int64, error)

func (*Dao) InsertPermission

func (dao *Dao) InsertPermission(model entity.Permission) (int64, int64, error)

func (*Dao) InsertScopeSpace

func (dao *Dao) InsertScopeSpace(model entity.ScopeSpace) (int64, int64, error)

func (*Dao) InsertUser

func (dao *Dao) InsertUser(model entity.User) (int64, int64, error)

func (*Dao) PageSelectUser

func (dao *Dao) PageSelectUser(model entity.PageUserParam) ([]entity.User, error)

func (*Dao) SelectDictionary

func (dao *Dao) SelectDictionary(model entity.Dictionary, ctx context.Context) ([]entity.Dictionary, error)

func (*Dao) SelectDictionaryCount

func (dao *Dao) SelectDictionaryCount(model entity.Dictionary) (int64, error)

func (*Dao) SelectLogging

func (dao *Dao) SelectLogging(model entity.Logging) ([]entity.Logging, error)

func (*Dao) SelectLoggingCount

func (dao *Dao) SelectLoggingCount(model entity.Logging) (int64, error)

func (*Dao) SelectPermission

func (dao *Dao) SelectPermission(model entity.Permission) ([]entity.Permission, error)

func (*Dao) SelectPermissionCount

func (dao *Dao) SelectPermissionCount(model entity.Permission) (int64, error)

func (*Dao) SelectScopeSpace

func (dao *Dao) SelectScopeSpace(model entity.ScopeSpace) ([]entity.ScopeSpace, error)

func (*Dao) SelectScopeSpaceCount

func (dao *Dao) SelectScopeSpaceCount(model entity.ScopeSpace) (int64, error)

func (*Dao) SelectUser

func (dao *Dao) SelectUser(model entity.User) ([]entity.User, error)

func (*Dao) SelectUserById

func (dao *Dao) SelectUserById(model entity.User) (entity.User, error)

func (*Dao) SelectUserCount

func (dao *Dao) SelectUserCount(model entity.User) (int64, error)

func (*Dao) UpdateDictionary

func (dao *Dao) UpdateDictionary(model entity.Dictionary) (int64, error)

func (*Dao) UpdateDictionaryBatch

func (dao *Dao) UpdateDictionaryBatch(model []entity.Dictionary) (int64, error)

func (*Dao) UpdateLogging

func (dao *Dao) UpdateLogging(model entity.Logging) (int64, error)

func (*Dao) UpdatePermission

func (dao *Dao) UpdatePermission(model entity.Permission) (int64, error)

func (*Dao) UpdatePermissionBatch

func (dao *Dao) UpdatePermissionBatch(model []entity.Permission) (int64, error)

func (*Dao) UpdateScopeSpace

func (dao *Dao) UpdateScopeSpace(model entity.ScopeSpace) (int64, error)

func (*Dao) UpdateScopeSpaceBatch

func (dao *Dao) UpdateScopeSpaceBatch(model []entity.ScopeSpace) (int64, error)

func (*Dao) UpdateUser

func (dao *Dao) UpdateUser(model entity.User) (int64, error)

Jump to

Keyboard shortcuts

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