From 4ed001ff84ed21bf32da85dbc4ba53ff2829e987 Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期四, 27 三月 2025 17:01:19 +0800
Subject: [PATCH] fix  修改表字段后版本,

---
 app/src/main/java/com/example/firstapp/model/CourierStat.kt |    4 ++--
 1 files changed, 2 insertions(+), 2 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 7cb6c0a..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,9 +4,9 @@
 
 @DatabaseView(
     """
-    SELECT type as courierName, COUNT(*) as count 
+    SELECT oneLevel as courierName, COUNT(*) as count 
     FROM Code 
-    GROUP BY type
+    GROUP BY oneLevel
     """
 )
 data class CourierStat(

--
Gitblit v1.9.3