微信群消息添加landType字段

This commit is contained in:
liuchengqian 2022-10-24 15:59:01 +08:00
parent aa4130ad7d
commit 6e22d1b952

View File

@ -487,7 +487,8 @@ public class FirePointServiceImpl implements FirePointService {
String formatLatitude = decimalFormat.format(firePointEntity.getLatitude()); String formatLatitude = decimalFormat.format(firePointEntity.getLatitude());
String countyName = firePointEntity.getCountyName(); String countyName = firePointEntity.getCountyName();
String streetName = firePointEntity.getStreetName(); String streetName = firePointEntity.getStreetName();
String content = firePointEntity.getSatelliteType() + "发现1个火点。\n卫星时间" + satelliteTime + "\nlongitude" + formatLongitude + "\nlatitude" + formatLatitude + "\ncountyName" + countyName + "\nstreetName" + streetName; String landType = firePointEntity.getLandType();
String content = firePointEntity.getSatelliteType() + "发现1个火点。\n卫星时间" + satelliteTime + "\nlongitude" + formatLongitude + "\nlatitude" + formatLatitude + "\ncountyName" + countyName + "\nstreetName" + streetName + "\nlandType" + landType;
return content; return content;
} }
@ -498,7 +499,8 @@ public class FirePointServiceImpl implements FirePointService {
String formatLatitude = decimalFormat.format(firePointEntity.getLatitude()); String formatLatitude = decimalFormat.format(firePointEntity.getLatitude());
String countyName = firePointEntity.getCountyName(); String countyName = firePointEntity.getCountyName();
String streetName = firePointEntity.getStreetName(); String streetName = firePointEntity.getStreetName();
String content = firePointEntity.getSatelliteType() + "发现1个待审核火点。\n卫星时间" + satelliteTime + "\nlongitude" + formatLongitude + "\nlatitude" + formatLatitude + "\ncountyName" + countyName + "\nstreetName" + streetName; String landType = firePointEntity.getLandType();
String content = firePointEntity.getSatelliteType() + "发现1个待审核火点。\n卫星时间" + satelliteTime + "\nlongitude" + formatLongitude + "\nlatitude" + formatLatitude + "\ncountyName" + countyName + "\nstreetName" + streetName + "\nlandType" + landType;
return content; return content;
} }