a
This commit is contained in:
@@ -452,7 +452,7 @@ func GetStationInfoList(db *DaoDB, stationName string, cityCode int, lat, lng fl
|
|||||||
sqlParams = append(sqlParams, cityCode)
|
sqlParams = append(sqlParams, cityCode)
|
||||||
}
|
}
|
||||||
if oilCode != "" {
|
if oilCode != "" {
|
||||||
sql += " AND POSITION(oilCode IN prices) > 0"
|
sql += " AND POSITION(? IN prices) > 0"
|
||||||
sqlParams = append(sqlParams, oilCode)
|
sqlParams = append(sqlParams, oilCode)
|
||||||
}
|
}
|
||||||
if sortType != 0 {
|
if sortType != 0 {
|
||||||
|
|||||||
Reference in New Issue
Block a user