• 2024-05-17三个字段拼接,为空的不显示
    publicStringconcatenateFields(Stringfield1,Stringfield2,Stringfield3){StringBuildersb=newStringBuilder();booleanseparatorAdded=false;if(field1!=null&&!field1.isEmpty()){sb.append(field1)