From 2e1edcb7518f20dec30dbd6e1686e9e6b558ec15 Mon Sep 17 00:00:00 2001 From: tj <1378534974@qq.com> Date: 星期三, 16 四月 2025 17:05:12 +0800 Subject: [PATCH] 43 首页登录->首页登录 1.首页弹窗协议同意后,不能默认自动勾选,还需要用户手动勾选 2.退出登录后,再次登录需要手动勾选与用户协议(目前是默认勾选了) 44 首页登录->邀请码 邀请码默认填入“邀请码(选填) 47 数据统计->饼状图数据分类统计问题 1、只统计快递 无需统计还款其他分类 2、图形上下间隔过大" 48 数据统计 天、周、月、年 1.数据统计只统计快递类的,其他分类不需要统计展示,例如取件码记录 2.包括周、月、年的统计环状图,只需要统计快递分类的 --- app/src/main/java/com/example/firstapp/database/repository/KeywordRepository.kt | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/app/src/main/java/com/example/firstapp/database/repository/KeywordRepository.kt b/app/src/main/java/com/example/firstapp/database/repository/KeywordRepository.kt index 26c45cb..9da32b4 100644 --- a/app/src/main/java/com/example/firstapp/database/repository/KeywordRepository.kt +++ b/app/src/main/java/com/example/firstapp/database/repository/KeywordRepository.kt @@ -1,5 +1,6 @@ package com.example.firstapp.database.repository +import androidx.annotation.WorkerThread import com.example.firstapp.database.dao.KeywordDao import com.example.firstapp.database.entity.KeywordConfig import com.example.firstapp.database.entity.KeywordEntity @@ -39,5 +40,9 @@ keywordDao.insertAll(keywordEntities) } + @WorkerThread + fun deleteAll() = keywordDao.deleteAll() + + } -- Gitblit v1.9.3