修改字段名

This commit is contained in:
Rosy-zhudan
2019-09-16 17:46:42 +08:00
parent f88b273f92
commit 12194ac987
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ func CheckHasStoreScoreData(db *DaoDB, dateTime time.Time) (hasStoreScoreData bo
sql := `
SELECT COUNT(*) count
FROM store_score
WHERE DATE(createtime) = DATE(?)
WHERE DATE(score_date) = DATE(?)
`
sqlParams := []interface{}{
dateTime,