删除无用代码
This commit is contained in:
parent
c9c7c6ccdf
commit
156207f709
@ -184,31 +184,6 @@ public class FirePointServiceImpl implements FirePointService {
|
||||
return firePoint;
|
||||
}
|
||||
|
||||
private ShanDongFirePointEntity getShanDongFirePointByFirePoint(FirePointEntity firePoint) {
|
||||
ShanDongFirePointEntity shanDongFirePoint = new ShanDongFirePointEntity();
|
||||
shanDongFirePoint.setId(firePoint.getId());
|
||||
shanDongFirePoint.setFireCode(firePoint.getFireCode());
|
||||
shanDongFirePoint.setLongitude(firePoint.getLongitude());
|
||||
shanDongFirePoint.setLatitude(firePoint.getLatitude());
|
||||
shanDongFirePoint.setCountyCode(firePoint.getCountyCode());
|
||||
shanDongFirePoint.setCountyName(firePoint.getCountyName());
|
||||
shanDongFirePoint.setSatelliteTime(firePoint.getSatelliteTime());
|
||||
shanDongFirePoint.setSatelliteType(firePoint.getSatelliteType());
|
||||
shanDongFirePoint.setLandType(firePoint.getLandType());
|
||||
shanDongFirePoint.setAddTime(firePoint.getAddTime());
|
||||
shanDongFirePoint.setConfidence(firePoint.getConfidence());
|
||||
shanDongFirePoint.setFirePointAddress(firePoint.getFirePointAddress());
|
||||
shanDongFirePoint.setFireType(firePoint.getFireType());
|
||||
shanDongFirePoint.setFireImage(firePoint.getFireImage());
|
||||
shanDongFirePoint.setSatelliteImage(firePoint.getSatelliteImage());
|
||||
shanDongFirePoint.setBeforeFireImage(firePoint.getBeforeFireImage());
|
||||
shanDongFirePoint.setAfterFireImage(firePoint.getAfterFireImage());
|
||||
shanDongFirePoint.setStreetCode(firePoint.getStreetCode());
|
||||
shanDongFirePoint.setStreetName(firePoint.getStreetName());
|
||||
shanDongFirePoint.setVerifyState("0");
|
||||
return shanDongFirePoint;
|
||||
}
|
||||
|
||||
/**
|
||||
* 为实体类绑定地址、编号、名称
|
||||
*/
|
||||
@ -341,8 +316,7 @@ public class FirePointServiceImpl implements FirePointService {
|
||||
String countyName = firePointEntity.getCountyName();
|
||||
String streetName = firePointEntity.getStreetName();
|
||||
String landType = firePointEntity.getLandType();
|
||||
String content = firePointEntity.getSatelliteType() + "发现1个火点。\n卫星时间:" + satelliteTime + ";\nlongitude:" + formatLongitude + ";\nlatitude:" + formatLatitude + ";\ncountyName:" + countyName + ";\nstreetName:" + streetName + ";\nlandType:" + landType;
|
||||
return content;
|
||||
return firePointEntity.getSatelliteType() + "发现1个火点。\n卫星时间:" + satelliteTime + ";\nlongitude:" + formatLongitude + ";\nlatitude:" + formatLatitude + ";\ncountyName:" + countyName + ";\nstreetName:" + streetName + ";\nlandType:" + landType;
|
||||
}
|
||||
|
||||
private String getMessageContent(ShanDongFirePointEntity firePointEntity) {
|
||||
@ -353,8 +327,7 @@ public class FirePointServiceImpl implements FirePointService {
|
||||
String countyName = firePointEntity.getCountyName();
|
||||
String streetName = firePointEntity.getStreetName();
|
||||
String landType = firePointEntity.getLandType();
|
||||
String content = firePointEntity.getSatelliteType() + "发现1个待审核火点。\n卫星时间:" + satelliteTime + ";\nlongitude:" + formatLongitude + ";\nlatitude:" + formatLatitude + ";\ncountyName:" + countyName + ";\nstreetName:" + streetName + ";\nlandType:" + landType;
|
||||
return content;
|
||||
return firePointEntity.getSatelliteType() + "发现1个待审核火点。\n卫星时间:" + satelliteTime + ";\nlongitude:" + formatLongitude + ";\nlatitude:" + formatLatitude + ";\ncountyName:" + countyName + ";\nstreetName:" + streetName + ";\nlandType:" + landType;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -482,8 +455,7 @@ public class FirePointServiceImpl implements FirePointService {
|
||||
// String endTimeString = DateTimeUtils.localDateTimeToString(endTime2);
|
||||
//
|
||||
// return firePointQueryHelper.queryFirePoint(countyCode, startTimeString, endTimeString, null, null);
|
||||
List<FirePointEntity> firePointEntities = firePointQueryHelper.queryFirePoint(countyCode, null, null, null, null);
|
||||
return firePointEntities;
|
||||
return firePointQueryHelper.queryFirePoint(countyCode, null, null, null, null);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user