From 9f7df9744575ad5db88594cb983dfd16aea18d2a Mon Sep 17 00:00:00 2001 From: Angel <1050374295@qq.com> Date: Mon, 4 Dec 2023 09:28:05 +0800 Subject: [PATCH] =?UTF-8?q?Jjxx=E5=AE=9E=E6=97=B6=E5=BC=80=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/ssf/mysqloracletest/task/JcjJjxxTask.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/ssf/mysqloracletest/task/JcjJjxxTask.java b/src/main/java/com/ssf/mysqloracletest/task/JcjJjxxTask.java index a052337..7deb8bb 100644 --- a/src/main/java/com/ssf/mysqloracletest/task/JcjJjxxTask.java +++ b/src/main/java/com/ssf/mysqloracletest/task/JcjJjxxTask.java @@ -116,6 +116,10 @@ public class JcjJjxxTask { try { + if (!"true".equals(ConfigParam.JjxxSwitch)) { + return; + } + //1 去mysql查出当前最大时间 JcjJjxxViewMysql jcjJjxxViewMysql = jcjJjxxViewMysqlService.selectRecordOrderByRksj(); //2 用得到的最大时间去oracle 查询大于这个时间的记录