This commit is contained in:
liuchengqian 2023-03-06 13:50:13 +08:00
parent 1ebf6e8b21
commit 49254d02a2
2 changed files with 34 additions and 34 deletions

View File

@ -7,16 +7,6 @@ public class AllFirePointQo {
*/ */
private String fireCode; private String fireCode;
/**
* 省市区的编码
*/
private Long countyCode;
/**
* 省市区的名称
*/
private String countyName;
/** /**
* 卫星监测的时间戳 * 卫星监测的时间戳
*/ */
@ -57,6 +47,16 @@ public class AllFirePointQo {
*/ */
private String satelliteImage; private String satelliteImage;
/**
* 省市区的编码
*/
private Long countyCode;
/**
* 省市区的名称
*/
private String countyName;
/** /**
* 乡镇街道的编码 * 乡镇街道的编码
*/ */
@ -73,22 +73,6 @@ public class AllFirePointQo {
this.fireCode = fireCode; this.fireCode = fireCode;
} }
public Long getCountyCode() {
return countyCode;
}
public void setCountyCode(Long countyCode) {
this.countyCode = countyCode;
}
public String getCountyName() {
return countyName;
}
public void setCountyName(String countyName) {
this.countyName = countyName;
}
public Long getSatelliteTimeTs() { public Long getSatelliteTimeTs() {
return satelliteTimeTs; return satelliteTimeTs;
} }
@ -153,6 +137,22 @@ public class AllFirePointQo {
this.satelliteImage = satelliteImage; this.satelliteImage = satelliteImage;
} }
public Long getCountyCode() {
return countyCode;
}
public void setCountyCode(Long countyCode) {
this.countyCode = countyCode;
}
public String getCountyName() {
return countyName;
}
public void setCountyName(String countyName) {
this.countyName = countyName;
}
public String getTownCode() { public String getTownCode() {
return townCode; return townCode;
} }
@ -165,8 +165,6 @@ public class AllFirePointQo {
public String toString() { public String toString() {
return "AllFirePointQo{" + return "AllFirePointQo{" +
"fireCode='" + fireCode + '\'' + "fireCode='" + fireCode + '\'' +
", countyCode=" + countyCode +
", countyName='" + countyName + '\'' +
", satelliteTimeTs=" + satelliteTimeTs + ", satelliteTimeTs=" + satelliteTimeTs +
", longitude=" + longitude + ", longitude=" + longitude +
", latitude=" + latitude + ", latitude=" + latitude +
@ -175,6 +173,8 @@ public class AllFirePointQo {
", confidence='" + confidence + '\'' + ", confidence='" + confidence + '\'' +
", fireImage='" + fireImage + '\'' + ", fireImage='" + fireImage + '\'' +
", satelliteImage='" + satelliteImage + '\'' + ", satelliteImage='" + satelliteImage + '\'' +
", countyCode=" + countyCode +
", countyName='" + countyName + '\'' +
", townCode='" + townCode + '\'' + ", townCode='" + townCode + '\'' +
'}'; '}';
} }

View File

@ -93,8 +93,6 @@ public class DispatchFirePointServiceImpl implements DispatchFirePointService {
//普通渠道来的火点直接入库普通火点库 //普通渠道来的火点直接入库普通火点库
FirePointOrdinaryEntity firePointOrdinaryEntity = new FirePointOrdinaryEntity(); FirePointOrdinaryEntity firePointOrdinaryEntity = new FirePointOrdinaryEntity();
firePointOrdinaryEntity.setFireCode(fireCode); firePointOrdinaryEntity.setFireCode(fireCode);
firePointOrdinaryEntity.setCountyCode(String.valueOf(countyCode));
firePointOrdinaryEntity.setCountyName(countyName);
firePointOrdinaryEntity.setSatelliteTime(satelliteTime); firePointOrdinaryEntity.setSatelliteTime(satelliteTime);
firePointOrdinaryEntity.setLongitude(longitude); firePointOrdinaryEntity.setLongitude(longitude);
firePointOrdinaryEntity.setLatitude(latitude); firePointOrdinaryEntity.setLatitude(latitude);
@ -105,6 +103,8 @@ public class DispatchFirePointServiceImpl implements DispatchFirePointService {
firePointOrdinaryEntity.setSatelliteImage(satelliteImage); firePointOrdinaryEntity.setSatelliteImage(satelliteImage);
firePointOrdinaryEntity.setTownCode(townCode); firePointOrdinaryEntity.setTownCode(townCode);
firePointOrdinaryEntity.setAddTime(addTime); firePointOrdinaryEntity.setAddTime(addTime);
firePointOrdinaryEntity.setCountyCode(String.valueOf(countyCode));
firePointOrdinaryEntity.setCountyName(countyName);
bindFirePointAddress(firePointOrdinaryEntity); bindFirePointAddress(firePointOrdinaryEntity);
DataWrapper2<Boolean, String> checkDuplicatedWrapper1 = FirePointFilterUtils.checkDuplicated(firePointOrdinaryDao, firePointOrdinaryEntity); DataWrapper2<Boolean, String> checkDuplicatedWrapper1 = FirePointFilterUtils.checkDuplicated(firePointOrdinaryDao, firePointOrdinaryEntity);
if (checkDuplicatedWrapper1.getData1()) { if (checkDuplicatedWrapper1.getData1()) {
@ -120,8 +120,6 @@ public class DispatchFirePointServiceImpl implements DispatchFirePointService {
if (!inPreciseTimeRange) { if (!inPreciseTimeRange) {
FirePointPreciseEntity firePointPreciseEntity = new FirePointPreciseEntity(); FirePointPreciseEntity firePointPreciseEntity = new FirePointPreciseEntity();
firePointPreciseEntity.setFireCode(fireCode); firePointPreciseEntity.setFireCode(fireCode);
firePointPreciseEntity.setCountyCode(String.valueOf(countyCode));
firePointPreciseEntity.setCountyName(countyName);
firePointPreciseEntity.setSatelliteTime(satelliteTime); firePointPreciseEntity.setSatelliteTime(satelliteTime);
firePointPreciseEntity.setLongitude(longitude); firePointPreciseEntity.setLongitude(longitude);
firePointPreciseEntity.setLatitude(latitude); firePointPreciseEntity.setLatitude(latitude);
@ -132,6 +130,8 @@ public class DispatchFirePointServiceImpl implements DispatchFirePointService {
firePointPreciseEntity.setSatelliteImage(satelliteImage); firePointPreciseEntity.setSatelliteImage(satelliteImage);
firePointPreciseEntity.setTownCode(townCode); firePointPreciseEntity.setTownCode(townCode);
firePointPreciseEntity.setAddTime(addTime); firePointPreciseEntity.setAddTime(addTime);
firePointPreciseEntity.setCountyCode(String.valueOf(countyCode));
firePointPreciseEntity.setCountyName(countyName);
bindFirePointAddress(firePointPreciseEntity); bindFirePointAddress(firePointPreciseEntity);
DataWrapper2<Boolean, String> checkDuplicatedWrapper2 = FirePointFilterUtils.checkDuplicated(firePointPreciseDao, firePointPreciseEntity); DataWrapper2<Boolean, String> checkDuplicatedWrapper2 = FirePointFilterUtils.checkDuplicated(firePointPreciseDao, firePointPreciseEntity);
if (checkDuplicatedWrapper2.getData1()) { if (checkDuplicatedWrapper2.getData1()) {
@ -185,8 +185,6 @@ public class DispatchFirePointServiceImpl implements DispatchFirePointService {
if (inPreciseTimeRange) { if (inPreciseTimeRange) {
FirePointPreciseEntity firePointPreciseEntity = new FirePointPreciseEntity(); FirePointPreciseEntity firePointPreciseEntity = new FirePointPreciseEntity();
firePointPreciseEntity.setFireCode(fireCode); firePointPreciseEntity.setFireCode(fireCode);
firePointPreciseEntity.setCountyCode(String.valueOf(countyCode));
firePointPreciseEntity.setCountyName(countyName);
firePointPreciseEntity.setSatelliteTime(satelliteTime); firePointPreciseEntity.setSatelliteTime(satelliteTime);
firePointPreciseEntity.setLongitude(longitude); firePointPreciseEntity.setLongitude(longitude);
firePointPreciseEntity.setLatitude(latitude); firePointPreciseEntity.setLatitude(latitude);
@ -197,6 +195,8 @@ public class DispatchFirePointServiceImpl implements DispatchFirePointService {
firePointPreciseEntity.setSatelliteImage(satelliteImage); firePointPreciseEntity.setSatelliteImage(satelliteImage);
firePointPreciseEntity.setTownCode(townCode); firePointPreciseEntity.setTownCode(townCode);
firePointPreciseEntity.setAddTime(addTime); firePointPreciseEntity.setAddTime(addTime);
firePointPreciseEntity.setCountyCode(String.valueOf(countyCode));
firePointPreciseEntity.setCountyName(countyName);
bindFirePointAddress(firePointPreciseEntity); bindFirePointAddress(firePointPreciseEntity);
DataWrapper2<Boolean, String> checkDuplicatedWrapper2 = FirePointFilterUtils.checkDuplicated(firePointPreciseDao, firePointPreciseEntity); DataWrapper2<Boolean, String> checkDuplicatedWrapper2 = FirePointFilterUtils.checkDuplicated(firePointPreciseDao, firePointPreciseEntity);
if (checkDuplicatedWrapper2.getData1()) { if (checkDuplicatedWrapper2.getData1()) {