StringBuilder append方法改为链式调用

master
caohong 3 years ago
parent 2532e40f9c
commit dd5e514d92
  1. 4
      ruoyi-common/src/main/java/com/ruoyi/common/utils/DictUtils.java

@ -92,7 +92,7 @@ public class DictUtils
{
if (value.equals(dict.getDictValue()))
{
propertyString.append(dict.getDictLabel() + separator);
propertyString.append(dict.getDictLabel()).append(separator);
break;
}
}
@ -132,7 +132,7 @@ public class DictUtils
{
if (label.equals(dict.getDictLabel()))
{
propertyString.append(dict.getDictValue() + separator);
propertyString.append(dict.getDictValue()).append(separator);
break;
}
}

Loading…
Cancel
Save