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 + "天" : ""); } //体重克算成千克