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 查询大于这个时间的记录