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); } /**