From 5fc9567cfa6b6beee4f52a9f835f304865d693e1 Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期四, 10 四月 2025 18:13:58 +0800 Subject: [PATCH] add: 消息提醒后版本 --- app/src/main/java/com/example/firstapp/model/CourierStat.kt | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/com/example/firstapp/model/CourierStat.kt b/app/src/main/java/com/example/firstapp/model/CourierStat.kt index c112e7c..a745f73 100644 --- a/app/src/main/java/com/example/firstapp/model/CourierStat.kt +++ b/app/src/main/java/com/example/firstapp/model/CourierStat.kt @@ -4,12 +4,12 @@ @DatabaseView( """ - SELECT courierName, COUNT(*) as count - FROM packages - GROUP BY courierName + SELECT oneLevel as courierName, COUNT(*) as count + FROM Code + GROUP BY oneLevel """ ) data class CourierStat( val courierName: String, val count: Int -) \ No newline at end of file +) -- Gitblit v1.9.3