From c82bde97920aefc0a4f6eed6eadce9faa0882b2f Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期一, 13 三月 2023 23:41:16 +0800 Subject: [PATCH] fix 修复 关闭租户后 插入数据报无租户ID问题 使用默认值兼容 --- ruoyi-extend/ruoyi-xxl-job-admin/src/main/java/com/xxl/job/admin/core/cron/CronExpression.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/ruoyi-extend/ruoyi-xxl-job-admin/src/main/java/com/xxl/job/admin/core/cron/CronExpression.java b/ruoyi-extend/ruoyi-xxl-job-admin/src/main/java/com/xxl/job/admin/core/cron/CronExpression.java index 2ce373e..1530119 100644 --- a/ruoyi-extend/ruoyi-xxl-job-admin/src/main/java/com/xxl/job/admin/core/cron/CronExpression.java +++ b/ruoyi-extend/ruoyi-xxl-job-admin/src/main/java/com/xxl/job/admin/core/cron/CronExpression.java @@ -17,6 +17,7 @@ package com.xxl.job.admin.core.cron; +import java.io.Serial; import java.io.Serializable; import java.text.ParseException; import java.util.Calendar; @@ -199,6 +200,7 @@ */ public final class CronExpression implements Serializable, Cloneable { + @Serial private static final long serialVersionUID = 12423409423L; protected static final int SECOND = 0; -- Gitblit v1.9.3