update - 更新待办模板取消配置模板 ID

This commit is contained in:
wangli 2023-12-12 20:04:02 +08:00
parent 3787863227
commit 6b1b19c151

View File

@ -317,14 +317,16 @@ public final class BpmnJsonConverterUtil {
noticeConfigElement.setName(CONFIG_NOTICE); noticeConfigElement.setName(CONFIG_NOTICE);
// 通知消息模板配置 // 通知消息模板配置
ExtensionElement noticeMessage = new ExtensionElement(); if (Objects.nonNull(noticeConf.getNotice())) {
noticeMessage.setName(TEMPLATE_NOTICE_MESSAGE_ID); ExtensionElement noticeMessage = new ExtensionElement();
ExtensionAttribute noticeMessageAttribute = new ExtensionAttribute(); noticeMessage.setName(TEMPLATE_NOTICE_MESSAGE_ID);
noticeMessageAttribute.setName(ELEMENT_ATTRIBUTE_VALUE); ExtensionAttribute noticeMessageAttribute = new ExtensionAttribute();
noticeMessageAttribute.setValue(noticeConf.getNotice().getNoticeMessageId()); noticeMessageAttribute.setName(ELEMENT_ATTRIBUTE_VALUE);
noticeMessage.addAttribute(noticeMessageAttribute); noticeMessageAttribute.setValue(noticeConf.getNotice().getNoticeMessageId());
noticeMessage.setElementText(noticeConf.getNotice().getViewJson()); noticeMessage.addAttribute(noticeMessageAttribute);
noticeConfigElement.addChildElement(noticeMessage); noticeMessage.setElementText(noticeConf.getNotice().getViewJson());
noticeConfigElement.addChildElement(noticeMessage);
}
// 代办消息模板配置 // 代办消息模板配置
if (Objects.nonNull(noticeConf.getPending())) { if (Objects.nonNull(noticeConf.getPending())) {