修改反馈
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"git.rosy.net.cn/jx-callback/business/model"
|
||||
)
|
||||
|
||||
@@ -18,10 +19,12 @@ func GetStoreAlertList(db *DaoDB, storeIDList []int, cityCode int, keyWord strin
|
||||
FROM store_alert t1
|
||||
JOIN store t2 ON t1.store_id = t2.id
|
||||
JOIN place t3 ON t2.city_code = t3.code
|
||||
WHERE DATE(t1.alert_date) = DATE(?)
|
||||
WHERE t1.alert_date >= ? AND t1.alert_date <= ?
|
||||
`
|
||||
beginTime, endTime := utils.GetTimeRange(dateTime, 1, true)
|
||||
sqlParams := []interface{}{
|
||||
dateTime,
|
||||
beginTime,
|
||||
endTime,
|
||||
}
|
||||
if len(storeIDList) > 0 {
|
||||
sql += `
|
||||
|
||||
Reference in New Issue
Block a user