baseservice

package
v1.0.1-dev-02 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: MulanPSL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(key string, s ServiceIface)

Types

type Baseservice

type Baseservice interface {
}

type Factroy

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

func NewFactroy

func NewFactroy() *Factroy

func (*Factroy) Get

func (this *Factroy) Get(key string) (ServiceIface, bool)

func (*Factroy) Register

func (this *Factroy) Register(key string, web ServiceIface)

type ServiceIface

type ServiceIface interface {
	Query(param *page.PageRequest) *page.PageResult
	Count(param *page.PageRequest) (int, error)

	FindById(SubsysId int32) *basedto.IchubResult
	FindByIds(pks string) *page.PageResult
	DeleteById(Id int32) *basedto.IchubResult
	//Save(entity any) *basedto.IchubResult
	UpdateNotNull(Id int32, entity map[string]interface{}) *basedto.IchubResult
}

func Get

func Get(key string) (ServiceIface, bool)

Jump to

Keyboard shortcuts

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