Authored by LUOXC

fixbug

... ... @@ -105,8 +105,11 @@ public final class SellerGoodsHelper {
}
public static String appendSizeCNUnit(String sizeName){
if (StringUtils.isBlank(sizeName)){
public static String appendSizeCNUnit(String sizeName) {
if (StringUtils.isBlank(sizeName)) {
return sizeName;
}
if (StringUtils.contains(sizeName, "码")) {
return sizeName;
}
return new StringBuilder(sizeName).append("码").toString();
... ...