Documentation ¶
Index ¶
- func CheckSkuInventoryExist(shopId int64, skuCode string) (exist bool, err error)
- func CreateSkuInventory(tx *xorm.Session, model *mysql.SkuInventory) (err error)
- func CreateSkuInventoryRecord(model *mysql.SkuInventoryRecord) (err error)
- func CreateSkuInventoryRecordByTx(tx *xorm.Session, model *mysql.SkuInventoryRecord) (err error)
- func CreateSkuPriceHistory(tx *xorm.Session, model *mysql.SkuPriceHistory) (err error)
- func CreateSkuProperty(tx *xorm.Session, model *mysql.SkuProperty) (err error)
- func CreateSkuPropertyEx(ctx context.Context, req interface{}) (err error)
- func CreateSkuPropertyMongoDB(ctx context.Context, req interface{}) (err error)
- func FindSkuInventoryRecord(sqlSelect string, where interface{}) ([]mysql.SkuInventoryRecord, error)
- func GetSkuInventory(sqlSelect string, shopId int64, skuCode string) (*mysql.SkuInventory, error)
- func GetSkuInventoryList(sqlSelect string, shopIdList []int64, skuCodeList []string) ([]*mysql.SkuInventory, error)
- func GetSkuInventoryListByShopId(sqlSelect string, shopId int64, pageSize, pageNum int) ([]mysql.SkuInventory, error)
- func GetSkuPriceHistory(sqlSelect string, where interface{}, orderByDesc []string, limit int) ([]mysql.SkuPriceHistory, error)
- func GetSkuPropertyExList(ctx context.Context, query map[string]interface{}) ([]args.SkuPropertyEx, error)
- func GetSkuPropertyList(skuCodeList []string) ([]mysql.SkuProperty, error)
- func UpdateInventory(tx *xorm.Session, where, maps map[string]interface{}) (int64, error)
- func UpdateSkuInventoryRecord(where, maps interface{}) (int64, error)
- func UpdateSkuInventoryRecordByTx(tx *xorm.Session, where, maps interface{}) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckSkuInventoryExist ¶
func CreateSkuInventory ¶
func CreateSkuInventory(tx *xorm.Session, model *mysql.SkuInventory) (err error)
sku库存
func CreateSkuInventoryRecord ¶
func CreateSkuInventoryRecord(model *mysql.SkuInventoryRecord) (err error)
func CreateSkuInventoryRecordByTx ¶
func CreateSkuInventoryRecordByTx(tx *xorm.Session, model *mysql.SkuInventoryRecord) (err error)
func CreateSkuPriceHistory ¶
func CreateSkuPriceHistory(tx *xorm.Session, model *mysql.SkuPriceHistory) (err error)
func CreateSkuProperty ¶
func CreateSkuProperty(tx *xorm.Session, model *mysql.SkuProperty) (err error)
sku 商品属性
func CreateSkuPropertyEx ¶
func FindSkuInventoryRecord ¶
func FindSkuInventoryRecord(sqlSelect string, where interface{}) ([]mysql.SkuInventoryRecord, error)
func GetSkuInventory ¶
func GetSkuInventoryList ¶
func GetSkuPriceHistory ¶
func GetSkuPropertyExList ¶
func GetSkuPropertyList ¶
func GetSkuPropertyList(skuCodeList []string) ([]mysql.SkuProperty, error)
func UpdateInventory ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.