Skip to content

修复手动清除子任务id后导致运行定时任务报错 - #671

Merged
elunez merged 1 commit into
elunez:masterfrom
Emil-Zhang:master
Sep 1, 2021
Merged

elunez merged 1 commit into
elunez:masterfrom
Emil-Zhang:master

Conversation

@Emil-Zhang

Copy link
Copy Markdown
Contributor

当定时任务原先由子任务id配置,手动移除id后,因为jpa不会自动将该字段设置为空,只会设置为空字符串,这将导致在后面再次运行时,id为空字符串,转为long类型会报错

@Emil-Zhang

Copy link
Copy Markdown
Contributor Author

本来想在gitee上提来着,结果想到还是github优先,特意找回了当年的账号提交pr

@elunez

elunez commented Sep 1, 2021

Copy link
Copy Markdown
Owner

感谢,已合并

@elunez
elunez merged commit 38262e0 into elunez:master Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants