- tmp GetStoresOrderSaleInfo

This commit is contained in:
gazebo
2019-05-13 11:42:58 +08:00
parent 4b7e387f23
commit 9114700688
2 changed files with 36 additions and 0 deletions

View File

@@ -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
}