设为首页 加入收藏

TOP

SpringBoot3集成Quartz(三)
2023-08-26 21:11:09 】 浏览:72
Tags:SpringBoot3 集成 Quartz
System.currentTimeMillis() - beginTime; quartzLog.setTimes((int)executeTime); quartzLog.setState(LogState.LOG_SUS.getStatus()); } catch (Exception e){ // 异常信息 long executeTime = System.currentTimeMillis() - beginTime; quartzLog.setTimes((int)executeTime); quartzLog.setState(LogState.LOG_FAIL.getStatus()); quartzLog.setError(e.getMessage()); } finally { // 保存执行日志 quartzLogService.insert(quartzLog) ; } } }

四、参考源码

文档仓库:
https://gitee.com/cicadasmile/butte-java-note

源码仓库:
https://gitee.com/cicadasmile/butte-spring-parent
首页 上一页 1 2 3 下一页 尾页 3/3/3
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇干掉 NullPointerException,这样.. 下一篇SpringBoot3数据库集成

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目