From 46b67fef7a0f4b6dfc659de47bc5d885acdd09f5 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期五, 18 六月 2021 15:28:43 +0800
Subject: [PATCH] add 增加 ServicePlusImpl 自动以实现类 重写移除事务注解方法 防止多数据源失效

---
 ruoyi-quartz/src/main/java/com/ruoyi/quartz/util/AbstractQuartzJob.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ruoyi-quartz/src/main/java/com/ruoyi/quartz/util/AbstractQuartzJob.java b/ruoyi-quartz/src/main/java/com/ruoyi/quartz/util/AbstractQuartzJob.java
index 9394e2a..ed4584e 100644
--- a/ruoyi-quartz/src/main/java/com/ruoyi/quartz/util/AbstractQuartzJob.java
+++ b/ruoyi-quartz/src/main/java/com/ruoyi/quartz/util/AbstractQuartzJob.java
@@ -36,7 +36,7 @@
     public void execute(JobExecutionContext context) throws JobExecutionException
     {
         SysJob sysJob = new SysJob();
-        BeanUtil.copyProperties(sysJob, context.getMergedJobDataMap().get(ScheduleConstants.TASK_PROPERTIES));
+        BeanUtil.copyProperties(context.getMergedJobDataMap().get(ScheduleConstants.TASK_PROPERTIES),sysJob);
         try
         {
             before(context, sysJob);

--
Gitblit v1.9.3