调整数据库连接方法

This commit is contained in:
zyq 2024-03-11 09:14:33 +08:00
parent d4d125f471
commit 861f25f90d
1 changed files with 1 additions and 7 deletions

View File

@ -22,13 +22,7 @@ public class MyTask implements Runnable{
@Override
public void run() {
EventLog.info("......任务调度开始执行......");
String is = Jdbc.jdbc();
if ("1".equals(is)) {
EventLog.info("......数据库连接成功......");
doStart();
}else {
EventLog.info("......数据库连接失败......");
}
doStart();
EventLog.info("......任务调度结束执行......");
}