From a8da38115220a0677442899ecf7bf75fd1ef325c Mon Sep 17 00:00:00 2001
From: tj <1378534974@qq.com>
Date: 星期二, 25 三月 2025 14:22:39 +0800
Subject: [PATCH] 1.支付

---
 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..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 category, COUNT(*) as count 
+    SELECT type as courierName, COUNT(*) as count 
     FROM Code 
-    GROUP BY category
+    GROUP BY type
     """
 )
 data class CourierStat(
-    val category: String,
+    val courierName: String,
     val count: Int
-) 
\ No newline at end of file
+)

--
Gitblit v1.9.3