From 4d0ce274e052882ac47b229581310d58b6b9972c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=BE=E5=90=8C=E5=AD=A6?= Date: Fri, 24 Oct 2025 15:21:16 +0800 Subject: [PATCH] =?UTF-8?q?add:=E6=B7=BB=E5=8A=A0sqlite=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E6=BF=80=E6=B4=BB=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron/jobs/example/timer.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/electron/jobs/example/timer.ts b/electron/jobs/example/timer.ts index f34c9b9..6f89c12 100644 --- a/electron/jobs/example/timer.ts +++ b/electron/jobs/example/timer.ts @@ -3,7 +3,6 @@ import {exit, isChildJob} from 'ee-core/ps'; import {childMessage} from 'ee-core/message'; import {welcome} from './hello'; import {UserService} from '../../service/job/user'; -import {sqlitedbService} from '../../service/database/activateRecord'; /** * example - TimerJob @@ -20,7 +19,6 @@ class TimerJob { this.timeoutTimer = undefined; this.number = 0; this.countdown = 10; // 倒计时 - sqlitedbService.init(); } /** @@ -41,9 +39,6 @@ class TimerJob { this.countdown = 10; this.doTimer(jobId); - // sqlite - const userList = await sqlitedbService.getAllTestDataSqlite(); - logger.info('[child-process] Sqlite userList:', userList); } /**