From be3e3b04394c15c2e0ca6e74082455a4f877495d Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期二, 12 十一月 2019 16:37:13 +0800 Subject: [PATCH] 红包版本区分 --- fanli/src/main/java/com/yeshi/fanli/util/factory/msg/UserMsgVOFactory.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/util/factory/msg/UserMsgVOFactory.java b/fanli/src/main/java/com/yeshi/fanli/util/factory/msg/UserMsgVOFactory.java index 72fffa5..2a4e64d 100644 --- a/fanli/src/main/java/com/yeshi/fanli/util/factory/msg/UserMsgVOFactory.java +++ b/fanli/src/main/java/com/yeshi/fanli/util/factory/msg/UserMsgVOFactory.java @@ -728,11 +728,11 @@ items.add(new CommonMsgItemVO(new ClientTextStyleVO("澶辫触鍘熷洜", COLOR_TITLE), contentList)); String handle = dto.getHandle(); - if (StringUtil.isNullOrEmpty(handle)) - handle = "鏃�"; - contentList = new ArrayList<>(); - contentList.add(new ClientTextStyleVO(handle, COLOR_CONTENT)); - items.add(new CommonMsgItemVO(new ClientTextStyleVO("澶勭悊", COLOR_TITLE), contentList)); + if (!StringUtil.isNullOrEmpty(handle)) { + contentList = new ArrayList<>(); + contentList.add(new ClientTextStyleVO(handle, COLOR_CONTENT)); + items.add(new CommonMsgItemVO(new ClientTextStyleVO("澶勭悊", COLOR_TITLE), contentList)); + } contentList = new ArrayList<>(); contentList.add(new ClientTextStyleVO(StringUtil.isNullOrEmpty(msg.getBeiZhu()) ? "鏃�" : msg.getBeiZhu(), -- Gitblit v1.8.0