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);
// 通知消息模板配置
ExtensionElement noticeMessage = new ExtensionElement();
noticeMessage.setName(TEMPLATE_NOTICE_MESSAGE_ID);
ExtensionAttribute noticeMessageAttribute = new ExtensionAttribute();
noticeMessageAttribute.setName(ELEMENT_ATTRIBUTE_VALUE);
noticeMessageAttribute.setValue(noticeConf.getNotice().getNoticeMessageId());
noticeMessage.addAttribute(noticeMessageAttribute);
noticeMessage.setElementText(noticeConf.getNotice().getViewJson());
noticeConfigElement.addChildElement(noticeMessage);
if (Objects.nonNull(noticeConf.getNotice())) {
ExtensionElement noticeMessage = new ExtensionElement();
noticeMessage.setName(TEMPLATE_NOTICE_MESSAGE_ID);
ExtensionAttribute noticeMessageAttribute = new ExtensionAttribute();
noticeMessageAttribute.setName(ELEMENT_ATTRIBUTE_VALUE);
noticeMessageAttribute.setValue(noticeConf.getNotice().getNoticeMessageId());
noticeMessage.addAttribute(noticeMessageAttribute);
noticeMessage.setElementText(noticeConf.getNotice().getViewJson());
noticeConfigElement.addChildElement(noticeMessage);
}
// 代办消息模板配置
if (Objects.nonNull(noticeConf.getPending())) {