From f3e60d24d0f24dc5cf7d77f9b871f416370e9132 Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期五, 18 四月 2025 17:02:17 +0800
Subject: [PATCH] fix : 列表图标
---
app/src/main/java/com/example/firstapp/model/CourierStat.kt | 5 ++---
1 files changed, 2 insertions(+), 3 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 fe385fe..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,10 +4,9 @@
@DatabaseView(
"""
- SELECT category as courierName, COUNT(*) as count
+ SELECT oneLevel as courierName, COUNT(*) as count
FROM Code
- WHERE substr(createtime, 1, 10) = date('now')
- GROUP BY category
+ GROUP BY oneLevel
"""
)
data class CourierStat(
--
Gitblit v1.9.3