【fix sonar】QuartzJobServiceImpl文件
This commit is contained in:
+1
-1
@@ -95,7 +95,7 @@ public class QuartzJobServiceImpl extends ServiceImpl<QuartzJobMapper, QuartzJob
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void execute(QuartzJob quartzJob) throws Exception {
|
public void execute(QuartzJob quartzJob) throws IllegalAccessException, InstantiationException, ClassNotFoundException, SchedulerException {
|
||||||
String jobName = quartzJob.getJobClassName().trim();
|
String jobName = quartzJob.getJobClassName().trim();
|
||||||
Date startDate = new Date();
|
Date startDate = new Date();
|
||||||
String ymd = DateUtils.date2Str(startDate, DateUtils.yyyymmddhhmmss.get());
|
String ymd = DateUtils.date2Str(startDate, DateUtils.yyyymmddhhmmss.get());
|
||||||
|
|||||||
Reference in New Issue
Block a user