company

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2021 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 OrganizationService

type OrganizationService struct {
	dao.BaseDao
}

func (OrganizationService) AddOrganization

func (service OrganizationService) AddOrganization(Orm *gorm.DB, shop *dao.Organization) error

func (OrganizationService) AddOrganizationBlockAmount

func (service OrganizationService) AddOrganizationBlockAmount(Orm *gorm.DB, OID uint64, Menoy int64) error

func (OrganizationService) ChangeOrganization

func (service OrganizationService) ChangeOrganization(ID uint64, shop *dao.Organization) error

func (OrganizationService) DelCompany

func (service OrganizationService) DelCompany(ID uint64) error

func (OrganizationService) FindByDomain

func (service OrganizationService) FindByDomain(Orm *gorm.DB, Domain string) *dao.Organization

func (OrganizationService) GetOrganization

func (service OrganizationService) GetOrganization(ID uint64) *dao.Organization

type StoreService

type StoreService struct {
	dao.BaseDao
}

func (StoreService) GetByGoodsIDAndSpecificationIDAndStoreID

func (service StoreService) GetByGoodsIDAndSpecificationIDAndStoreID(GoodsID, SpecificationID, StoreID uint64) *dao.StoreStock

func (StoreService) GetByPhone

func (service StoreService) GetByPhone(Phone string) dao.Store

func (StoreService) ListStoreSpecifications

func (service StoreService) ListStoreSpecifications(StoreID, GoodsID uint64) interface{}

func (StoreService) ListStoreStock

func (service StoreService) ListStoreStock(StoreID uint64) interface{}

func (StoreService) LocationList

func (service StoreService) LocationList(Latitude, Longitude float64) []map[string]interface{}

Jump to

Keyboard shortcuts

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