app/src/main/java/com/example/firstapp/database/dao/CodeDao.kt
@@ -63,6 +63,7 @@ WHERE category = :category AND code = :code AND substr(createTime, 1, 10) = substr(:dateString, 1, 10) ORDER BY createTime DESC LIMIT 1 """) fun queryByTypeAndCodeAndDate(category: String, code: String, dateString: String): Code?