统计接口修改
This commit is contained in:
@@ -9,21 +9,21 @@ import (
|
||||
)
|
||||
|
||||
type StatisticsReportForOrdersList struct {
|
||||
storeID int `json:"storeID"`
|
||||
orderCounts int `json:"orderCounts"`
|
||||
salePrice int64 `json:"salePrice"`
|
||||
actualPayPrice int64 `json:"actualPayPrice"`
|
||||
shopPrice int64 `json:"shopPrice"`
|
||||
discountMoney int64 `json:"discountMoney"`
|
||||
desiredFee int64 `json:"desiredFee"`
|
||||
distanceFreightMoney int64 `json:"distanceFreightMoney"`
|
||||
waybillTipMoney int64 `json:"waybillTipMoney"`
|
||||
totalShopMoney int64 `json:"totalShopMoney"`
|
||||
pmSubsidyMoney int64 `json:"pmSubsidyMoney"`
|
||||
earningPrice int64 `json:"earningPrice"`
|
||||
totalGrossProfit int64 `json:"totalGrossProfit"`
|
||||
comGrossProfit float32 `json:"comGrossProfit"`
|
||||
cityManagerGrossProfit float32 `json:"cityManagerGrossProfit"`
|
||||
storeID int `orm:"size(255)" json:"storeID"`
|
||||
orderCounts int `orm:"size(255)" json:"orderCounts"`
|
||||
salePrice int64 `orm:"size(255)" json:"salePrice"`
|
||||
actualPayPrice int64 `orm:"size(255)" json:"actualPayPrice"`
|
||||
shopPrice int64 `orm:"size(255)" json:"shopPrice"`
|
||||
discountMoney int64 `orm:"size(255)" json:"discountMoney"`
|
||||
desiredFee int64 `orm:"size(255)" json:"desiredFee"`
|
||||
distanceFreightMoney int64 `orm:"size(255)" json:"distanceFreightMoney"`
|
||||
waybillTipMoney int64 `orm:"size(255)" json:"waybillTipMoney"`
|
||||
totalShopMoney int64 `orm:"size(255)" json:"totalShopMoney"`
|
||||
pmSubsidyMoney int64 `orm:"size(255)" json:"pmSubsidyMoney"`
|
||||
earningPrice int64 `orm:"size(255)" json:"earningPrice"`
|
||||
totalGrossProfit int64 `orm:"size(255)" json:"totalGrossProfit"`
|
||||
comGrossProfit float32 `orm:"size(255)" json:"comGrossProfit"`
|
||||
cityManagerGrossProfit float32 `orm:"size(255)" json:"cityManagerGrossProfit"`
|
||||
}
|
||||
|
||||
func GetStatisticsReportForOrders(db *DaoDB, storeIDs []int, fromDate string, toDate string) (statisticsReportForOrdersList []*StatisticsReportForOrdersList, err error) {
|
||||
|
||||
Reference in New Issue
Block a user