|
@@ -57,7 +57,7 @@ type ChangesVisitorsCovidIndexResp struct {
|
|
|
// 获取当天数据信息列表
|
|
|
func GetChangesVisitorsCovidAll(dateTime string) (items []*BaseFromChangesVisitorsCovid, err error) {
|
|
|
o := orm.NewOrm()
|
|
|
- sql := `SELECT * FROM base_from_changes_visitors_covid WHERE data_time>=?`
|
|
|
+ sql := `SELECT * FROM base_from_changes_visitors_covid WHERE day>=? `
|
|
|
_, err = o.Raw(sql, dateTime).QueryRows(&items)
|
|
|
return
|
|
|
}
|