From af40f0faaa9d4cca1a7c86389056a4738459acdf Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 08 八月 2019 15:58:45 +0800 Subject: [PATCH] 华为推送修改,部分循环依赖修改 --- fanli/src/main/java/com/yeshi/fanli/util/factory/CommonGoodsFactory.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/util/factory/CommonGoodsFactory.java b/fanli/src/main/java/com/yeshi/fanli/util/factory/CommonGoodsFactory.java index 88ba0e9..ad88ebb 100644 --- a/fanli/src/main/java/com/yeshi/fanli/util/factory/CommonGoodsFactory.java +++ b/fanli/src/main/java/com/yeshi/fanli/util/factory/CommonGoodsFactory.java @@ -161,6 +161,11 @@ String salesTip = goods.getSalesTip(); if (StringUtil.isNullOrEmpty(salesTip)) { salesTip = "0"; + } else { + int indexOf = salesTip.indexOf("+"); + if (indexOf > 0) { + salesTip = salesTip.substring(0, indexOf); + } } int totalSales = 0; -- Gitblit v1.8.0