diff --git a/business/model/dao/store_score.go b/business/model/dao/store_score.go index 87858865f..596a37bc0 100644 --- a/business/model/dao/store_score.go +++ b/business/model/dao/store_score.go @@ -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(),