update - 修复NPE问题
This commit is contained in:
parent
379984dfff
commit
6330e81bc6
@ -352,7 +352,7 @@ public final class BpmnJsonConverterUtil {
|
|||||||
noticeConfigElement.setName(CONFIG_NOTICE);
|
noticeConfigElement.setName(CONFIG_NOTICE);
|
||||||
|
|
||||||
// 通知消息模板配置
|
// 通知消息模板配置
|
||||||
if (Objects.nonNull(noticeConf.getNotice()) && noticeConf.getNotice().getSendMessage()) {
|
if (Objects.nonNull(noticeConf.getNotice()) && noticeConf.getNotice().getSendMessage() != null && noticeConf.getNotice().getSendMessage()) {
|
||||||
ExtensionElement noticeMessage = new ExtensionElement();
|
ExtensionElement noticeMessage = new ExtensionElement();
|
||||||
noticeMessage.setName(TEMPLATE_NOTICE_MESSAGE_CONFIG);
|
noticeMessage.setName(TEMPLATE_NOTICE_MESSAGE_CONFIG);
|
||||||
ExtensionAttribute noticeMessageAttribute = new ExtensionAttribute();
|
ExtensionAttribute noticeMessageAttribute = new ExtensionAttribute();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user