From e91f87c4b72325ffe954e1107e4ace2528718633 Mon Sep 17 00:00:00 2001 From: jiangjiazhi Date: Tue, 9 Aug 2016 09:39:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=95=E5=A6=87=E5=88=86=E5=A8=A9=E5=90=8E?= =?UTF-8?q?=20=E5=8F=98=E6=88=90=E4=BA=A7=E5=A6=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/lyms/platform/common/utils/StringUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform-common/src/main/java/com/lyms/platform/common/utils/StringUtils.java b/platform-common/src/main/java/com/lyms/platform/common/utils/StringUtils.java index 301a7f8..d29db2c 100644 --- a/platform-common/src/main/java/com/lyms/platform/common/utils/StringUtils.java +++ b/platform-common/src/main/java/com/lyms/platform/common/utils/StringUtils.java @@ -23,10 +23,10 @@ public final class StringUtils { int week = (days / 7); String str = ""; // if (week > 0) { - str = week + "周+"; + str = week + "周"; // } int day = (days % 7); - return "孕" + str + (day > 0 ? "" + day + "天" : ""); + return "孕" + str + (day > 0 ? "+" + day + "天" : ""); } //体重克算成千克 -- 1.8.3.1