dao

package
v0.0.0-...-1bf96ee Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2022 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Cache_sqlite = "sqlite"
	Cache_mysql  = "local"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MappingDao

type MappingDao struct {
}

func (*MappingDao) DeleteMapping

func (*MappingDao) DeleteMapping(mappingDto mapping.MappingDto) error

* 删除服务sql

func (*MappingDao) GetDicts

func (*MappingDao) GetDicts(dictDto mapping.DictDto) ([]*mapping.DictDto, error)

* 查询用户

func (*MappingDao) GetMappingCount

func (*MappingDao) GetMappingCount(mappingDto mapping.MappingDto) (int64, error)

* 查询用户

func (*MappingDao) GetMappings

func (*MappingDao) GetMappings(mappingDto mapping.MappingDto) ([]*mapping.MappingDto, error)

* 查询用户

func (*MappingDao) SaveMapping

func (*MappingDao) SaveMapping(mappingDto mapping.MappingDto) error

* 保存服务sql

func (*MappingDao) UpdateMapping

func (*MappingDao) UpdateMapping(mappingDto mapping.MappingDto) error

* 修改服务sql

type MenuDao struct {
}
func (*MenuDao) GetMenu(userVo vo.LoginUserVo) ([]*menu.MenusDto, error)

* 查询用户

type ServiceSqlDao

type ServiceSqlDao struct {
}

func (*ServiceSqlDao) DeleteServiceSql

func (*ServiceSqlDao) DeleteServiceSql(serviceSqlDto serviceSql.ServiceSqlDto) error

* 删除服务sql

func (*ServiceSqlDao) GetServiceSqlCount

func (*ServiceSqlDao) GetServiceSqlCount(serviceSqlDto serviceSql.ServiceSqlDto) (int64, error)

* 查询用户

func (*ServiceSqlDao) GetServiceSqls

func (*ServiceSqlDao) GetServiceSqls(serviceSqlDto serviceSql.ServiceSqlDto) ([]*serviceSql.ServiceSqlDto, error)

* 查询用户

func (*ServiceSqlDao) SaveServiceSql

func (*ServiceSqlDao) SaveServiceSql(serviceSqlDto serviceSql.ServiceSqlDto) error

* 保存服务sql

func (*ServiceSqlDao) UpdateServiceSql

func (*ServiceSqlDao) UpdateServiceSql(serviceSqlDto serviceSql.ServiceSqlDto) error

* 修改服务sql

Jump to

Keyboard shortcuts

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