From 9d8dfb01ff72c57abad3b80f3d65e81a5354db03 Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期五, 12 七月 2019 09:10:38 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- fanli/src/main/java/com/yeshi/fanli/util/factory/msg/UserMsgVOFactory.java | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 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 d860177..a1ce4dc 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 @@ -566,6 +566,12 @@ contentList.add(new ClientTextStyleVO(dto.getSource() + "", COLOR_CONTENT)); items.add(new CommonMsgItemVO(new ClientTextStyleVO("鏉ユ簮", COLOR_TITLE), contentList)); } + + if (!StringUtil.isNullOrEmpty(dto.getTimeDesc())) { + contentList = new ArrayList<>(); + contentList.add(new ClientTextStyleVO(dto.getTimeDesc() + "", COLOR_CONTENT)); + items.add(new CommonMsgItemVO(new ClientTextStyleVO("鏃堕棿", COLOR_TITLE), contentList)); + } if (dto.getMoney() != null) { contentList = new ArrayList<>(); @@ -574,6 +580,19 @@ items.add(new CommonMsgItemVO(new ClientTextStyleVO("闈㈤", COLOR_TITLE), contentList)); } + + if (!StringUtil.isNullOrEmpty(dto.getReason())) { + contentList = new ArrayList<>(); + contentList.add(new ClientTextStyleVO(dto.getReason() + "", COLOR_CONTENT)); + items.add(new CommonMsgItemVO(new ClientTextStyleVO("鍘熷洜", COLOR_TITLE), contentList)); + } + + if (!StringUtil.isNullOrEmpty(dto.getResult())) { + contentList = new ArrayList<>(); + contentList.add(new ClientTextStyleVO(dto.getResult() + "", COLOR_CONTENT)); + items.add(new CommonMsgItemVO(new ClientTextStyleVO("缁撴灉", COLOR_TITLE), contentList)); + } + contentList = new ArrayList<>(); contentList.add(new ClientTextStyleVO(StringUtil.isNullOrEmpty(msg.getBeiZhu()) ? "鏃�" : msg.getBeiZhu(), COLOR_CONTENT)); -- Gitblit v1.8.0