价格tongji

This commit is contained in:
苏尹岚
2019-12-31 17:22:15 +08:00
parent 3564b491f1
commit 295854eb08

View File

@@ -1373,7 +1373,7 @@ func GetStoreSkuBindByNameID(db *DaoDB, storeID, nameID, status int) (storeSkuBi
func GetPriceReferPrice(db *DaoDB, cityCode int, skuID int, snapDate time.Time) (result *PriceReferSnapshotExt, err error) {
var (
pRefer *PriceReferSnapshotExt
priceRefer *PriceReferSnapshotExt
priceRefer = &PriceReferSnapshotExt{}
)
sql := `
SELECT a.max_unit_price, a.min_unit_price, a.avg_unit_price, a.mid_unit_price, a.sku_id id, b.spec_quality, c.unit, b.spec_unit