- tmp GetStoresOrderSaleInfo
This commit is contained in:
@@ -27,6 +27,14 @@ type tWaybillExt struct {
|
||||
StoreID int `json:"storeID" orm:"column(store_id)"`
|
||||
}
|
||||
|
||||
type StoresOrderSaleInfo struct {
|
||||
StoreID int `json:"storeID"`
|
||||
Status int `json:"status"`
|
||||
Count int `json:"count"`
|
||||
SalePrice int64 `json:"salePrice"`
|
||||
ActualPay int64 `json:"actualPay"`
|
||||
}
|
||||
|
||||
//此函数会被GetStoreOrderCountInfo2取代
|
||||
func (c *OrderManager) GetStoreOrderCountInfo(ctx *jxcontext.Context, storeID string, lastHours int) (countInfo []*model.GoodsOrderCountInfo, err error) {
|
||||
globals.SugarLogger.Debugf("GetStoreOrderCountInfo storeID:%s", storeID)
|
||||
@@ -608,3 +616,7 @@ func (c *OrderManager) GetOrdersFinancial(ctx *jxcontext.Context, fromDateStr, t
|
||||
|
||||
return pagedInfo, err
|
||||
}
|
||||
|
||||
func (c *OrderManager) GetStoresOrderSaleInfo(ctx *jxcontext.Context, storeIDList []int, fromTime time.Time, toTime time.Time, statusList []int) (saleInfo *StoresOrderSaleInfo, err error) {
|
||||
return saleInfo, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user