价格tongji
This commit is contained in:
@@ -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) {
|
func GetPriceReferPrice(db *DaoDB, cityCode int, skuID int, snapDate time.Time) (result *PriceReferSnapshotExt, err error) {
|
||||||
var (
|
var (
|
||||||
pRefer *PriceReferSnapshotExt
|
pRefer *PriceReferSnapshotExt
|
||||||
priceRefer *PriceReferSnapshotExt
|
priceRefer = &PriceReferSnapshotExt{}
|
||||||
)
|
)
|
||||||
sql := `
|
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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user