From 380d70f2f1cd03b314fa6de64df30eab914956ba Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期一, 24 三月 2025 09:56:42 +0800 Subject: [PATCH] fix 324 免登陆,删除ActionBar --- 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..7cb6c0a 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 type as courierName, COUNT(*) as count + FROM Code + GROUP BY type """ ) data class CourierStat( val courierName: String, val count: Int -) \ No newline at end of file +) -- Gitblit v1.9.3