service

package
v0.1.25 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: AGPL-3.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MemCache = cache.NewMemCache("basecode", 1000, 1000)

Functions

func Load

func Load()

Types

type BaseCodeService

type BaseCodeService struct {
	service.OrmBaseService
}

* 同步表结构,服务继承基本服务的方法

func GetBaseCodeService

func GetBaseCodeService() *BaseCodeService

func (*BaseCodeService) GetBaseCode

func (this *BaseCodeService) GetBaseCode(baseCodeId string) (*entity.BaseCode, error)

func (*BaseCodeService) GetSeqName

func (this *BaseCodeService) GetSeqName() string

func (*BaseCodeService) NewEntities

func (this *BaseCodeService) NewEntities(data []byte) (interface{}, error)

func (*BaseCodeService) NewEntity

func (this *BaseCodeService) NewEntity(data []byte) (interface{}, error)

type CodeDetailService

type CodeDetailService struct {
	service.OrmBaseService
}

* 同步表结构,服务继承基本服务的方法

func GetCodeDetailService

func GetCodeDetailService() *CodeDetailService

func (*CodeDetailService) GetSeqName

func (this *CodeDetailService) GetSeqName() string

func (*CodeDetailService) NewEntities

func (this *CodeDetailService) NewEntities(data []byte) (interface{}, error)

func (*CodeDetailService) NewEntity

func (this *CodeDetailService) NewEntity(data []byte) (interface{}, error)

Jump to

Keyboard shortcuts

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