From a3ea58065f61d16f06a0883737eae320eef5c33a Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 01 八月 2019 15:47:12 +0800 Subject: [PATCH] 非任务模式不执行京东/拼多多订单 --- fanli/src/main/java/com/yeshi/fanli/util/factory/msg/UserMsgVOFactory.java | 8 +++++++- 1 files changed, 7 insertions(+), 1 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 90109ab..7be7ea3 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 @@ -93,8 +93,14 @@ contentList.add(new ClientTextStyleVO(Constant.getSourceName(msg.getOrderType()), COLOR_CONTENT)); items.add(new CommonMsgItemVO(new ClientTextStyleVO("娓犻亾鏉ユ簮", COLOR_TITLE), contentList)); + + String orderId = msg.getOrderId(); + MsgTypeOrderTypeEnum type = msg.getType(); + if (type == MsgTypeOrderTypeEnum.invite || type == MsgTypeOrderTypeEnum.share) { + orderId = UserUtil.filterOrderId(orderId); + } contentList = new ArrayList<>(); - contentList.add(new ClientTextStyleVO(msg.getOrderId(), COLOR_CONTENT)); + contentList.add(new ClientTextStyleVO(orderId, COLOR_CONTENT)); items.add(new CommonMsgItemVO(new ClientTextStyleVO("璁㈠崟鍙�", COLOR_TITLE), contentList, true)); contentList = new ArrayList<>(); -- Gitblit v1.8.0