cloudroam
2025-03-04 2a117297daf83b2e1a104603e9641226d5beeba3
app/src/main/java/com/example/firstapp/receiver/SmsReceiver.kt
@@ -85,7 +85,7 @@
                            val createtime = sdf.format(date)
                            val existingCode = Core.code.queryByTypeAndCodeAndDate(rule.content, code, createtime)
                            if (existingCode == null) {
                                val code = Code(0, rule.type, 1, rule.content, 1, 1, msgId, code, createtime, "中通",0)
                                val code = Code(0, rule.type, 1, rule.content, 1, 1, msgId, code, createtime, "中通",0,"","")
                                Core.code.insert(code)
                                Log.d("SMS_DEBUG", "新短信已保存到数据库")