diff --git a/business/model/dao/dao_job.go b/business/model/dao/dao_job.go index 6227c7914..4320954c6 100644 --- a/business/model/dao/dao_job.go +++ b/business/model/dao/dao_job.go @@ -452,7 +452,7 @@ func GetStationInfoList(db *DaoDB, stationName string, cityCode int, lat, lng fl sqlParams = append(sqlParams, cityCode) } if oilCode != "" { - sql += " AND POSITION(oilCode IN prices) > 0" + sql += " AND POSITION(? IN prices) > 0" sqlParams = append(sqlParams, oilCode) } if sortType != 0 {