From 88b00f3fc74446a1727c93722c7b64179b45a9db Mon Sep 17 00:00:00 2001 From: zhujie <leon.zhu@cloudroam.com.cn> Date: 星期五, 18 四月 2025 17:40:45 +0800 Subject: [PATCH] Merge branch 'master' of http://47.96.225.205:8888/r/FirstApp2 --- 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 8abab2c..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 category, COUNT(*) as count + SELECT oneLevel as courierName, COUNT(*) as count FROM Code - GROUP BY category + GROUP BY oneLevel """ ) data class CourierStat( - val category: String, + val courierName: String, val count: Int -) \ No newline at end of file +) -- Gitblit v1.9.3