修正
This commit is contained in:
@@ -16,7 +16,7 @@ func GetLatestWeeklyStoreScoreList(db *DaoDB, storeID, weekNum int) (storeScoreL
|
||||
sql := `
|
||||
SELECT t2.name store_name, t1.* FROM store_score t1
|
||||
JOIN store t2 ON t1.store_id = t2.id
|
||||
WHERE store_id = ?
|
||||
WHERE t1.store_id = ?
|
||||
AND DATE(t1.created_at) >= DATE_SUB(
|
||||
DATE_SUB(
|
||||
CURDATE(),
|
||||
|
||||
Reference in New Issue
Block a user