价格统计
This commit is contained in:
@@ -1389,7 +1389,7 @@ func GetPriceReferUnitPrice(db *DaoDB, cityCode int, nameID int, snapDate time.T
|
||||
cityCode,
|
||||
}
|
||||
if nameID > 0 {
|
||||
sql += " AND a.id = ?"
|
||||
sql += " AND a.name_id = ?"
|
||||
sqlParams = append(sqlParams, nameID)
|
||||
}
|
||||
err = GetRows(db, &pRefer, sql, sqlParams...)
|
||||
|
||||
Reference in New Issue
Block a user