From 11adee7f9ff0986fa209af6ce29a37b3c0b27044 Mon Sep 17 00:00:00 2001
From: tj <1378534974@qq.com>
Date: 星期三, 02 四月 2025 10:07:26 +0800
Subject: [PATCH] 1.vip续费页面-样式修改

---
 app/src/main/java/com/example/firstapp/database/dao/ReminderDao.kt |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/app/src/main/java/com/example/firstapp/database/dao/ReminderDao.kt b/app/src/main/java/com/example/firstapp/database/dao/ReminderDao.kt
index 8c9b629..e0cd71f 100644
--- a/app/src/main/java/com/example/firstapp/database/dao/ReminderDao.kt
+++ b/app/src/main/java/com/example/firstapp/database/dao/ReminderDao.kt
@@ -1,4 +1,5 @@
 package com.example.firstapp.database.dao
+
 import androidx.room.*
 import com.example.firstapp.database.entity.Reminder
 import kotlinx.coroutines.flow.Flow
@@ -14,4 +15,7 @@
 
     @Delete
      fun delete(reminder: Reminder)
+
+    @Query("SELECT * FROM reminders WHERE type = :type")
+    fun getByType(type: String): List<Reminder>
 }
\ No newline at end of file

--
Gitblit v1.9.3