storage

package
v0.0.0-...-a5e1bbd Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	DB() *gorm.DB

	GetUserCenter(account string) (*models.UserCenter, error)
	Good(barcodes string, account string) (*models.TemporaryGoodsInventories, error)
	DeleteGood(goodID string, account string) (err error)
	Search(keyword string, account string) ([]models.TemporaryGoodsInventories, error)
	WareHousing(goodsId string, barcode string, account string, cost float64, numberProducts int, remark string) (err error)
	OutStock(goodsId string, barcode string, account string, cost float64, numberProducts int, price float64, remark string) (err error)
	IOHistory(goodsID string, account string) ([]models.InventoryHistoryDetailed, error)
	IORevoke(orderID string, account string) ([]models.InventoryHistoryDetailed, error)
	IOList(account string, limit int, offset int) (count int64, ids []models.InventoryHistoryDetailed, err error)
	ResetStatistics() (err error)

	// Statistics ..
	Statistics(account string) (scs []models.StatisticsBand, err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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