Commit 571d04b8 by zhangzhendong

为空判断

parent 068d4d90
......@@ -186,8 +186,15 @@ public class NoticeMessageApiServiceImpl implements NoticeMessageApiService {
Map<String, String> variableMap = messageQDTO.getContentMap();
if (ObjectUtil.isNotEmpty(messageQDTO.getExtendContent())) {
variableMap.put("pageParams", JSONObject.toJSONString(messageQDTO.getExtendContent()));
}
if (ObjectUtil.isNotEmpty(messageQDTO.getTitle())) {
variableMap.put("templateTitle", messageQDTO.getTitle());
}
NoticeMessageTypeEnum noticeMessageTypeEnum = NoticeMessageTypeEnum.getByType(messageQDTO.getMessageType());
if (ObjectUtil.isNull(noticeMessageTypeEnum)) {
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment