|
@@ -45,13 +45,13 @@ public class DaHuaOtherEventVO {
|
|
|
@Override
|
|
|
public String toString() {
|
|
|
String toString = new ToStringBuilder(this, ToStringStyle.NO_CLASS_NAME_STYLE)
|
|
|
- .append("行政区:", StringUtils.isEmpty(getDistrictName())?"无":getDistrictName())
|
|
|
- .append("瞭望塔:", StringUtils.isEmpty(getAddress())?"无":getAddress())
|
|
|
+ .append("行政区:", StringUtils.isEmpty(getDistrictName())?"无 ":getDistrictName())
|
|
|
+ .append("瞭望塔:", StringUtils.isEmpty(getAddress())?"无 ":getAddress())
|
|
|
// .append("方向:", getDirection())
|
|
|
// .append("距离:", getDistance())
|
|
|
// .append("高程:", getHeight())
|
|
|
- .append("经度:", getLongitude())
|
|
|
- .append("纬度:", getLatitude())
|
|
|
+ .append("经度:", StringUtils.isEmpty(getLongitude())?"无 ":getLongitude())
|
|
|
+ .append("纬度:", StringUtils.isEmpty(getLatitude())?"无 ":getLatitude())
|
|
|
.toString().replaceAll("=", "");
|
|
|
return toString.substring(1, toString.length() - 1);
|
|
|
}
|