更新这些傻逼字段

This commit is contained in:
liuchengqian 2023-03-13 21:32:14 +08:00
parent ba62225a49
commit 3068935bbf
3 changed files with 19 additions and 19 deletions

View File

@ -69,7 +69,7 @@ public class DispatchFirePointController {
// sysUserDao.save(sysUserEntity);
// }
for (int i = 0; i < 462; i++) {
for (int i = 450; i < 500; i++) {
firePointOrdinaryDao.updateProCityCode(i * 5000L, (i + 1) * 5000L);
firePointOrdinaryDao.updateProCityName(i * 5000L, (i + 1) * 5000L);
System.out.println(i + "/" + 462);

View File

@ -30,7 +30,7 @@ public class AllFirePointQo {
/**
* 植被类型
*/
private String landType;
private String landtype;
/**
* 置信度
@ -60,7 +60,7 @@ public class AllFirePointQo {
/**
* 乡镇街道的编码
*/
private String townCode;
private String towncode;
public AllFirePointQo() {
}
@ -105,12 +105,12 @@ public class AllFirePointQo {
this.satelliteType = satelliteType;
}
public String getLandType() {
return landType;
public String getLandtype() {
return landtype;
}
public void setLandType(String landType) {
this.landType = landType;
public void setLandtype(String landtype) {
this.landtype = landtype;
}
public String getConfidence() {
@ -153,12 +153,12 @@ public class AllFirePointQo {
this.countyName = countyName;
}
public String getTownCode() {
return townCode;
public String getTowncode() {
return towncode;
}
public void setTownCode(String townCode) {
this.townCode = townCode;
public void setTowncode(String towncode) {
this.towncode = towncode;
}
@Override
@ -169,13 +169,13 @@ public class AllFirePointQo {
", longitude=" + longitude +
", latitude=" + latitude +
", satelliteType='" + satelliteType + '\'' +
", landType='" + landType + '\'' +
", landtype='" + landtype + '\'' +
", confidence='" + confidence + '\'' +
", fireImage='" + fireImage + '\'' +
", satelliteImage='" + satelliteImage + '\'' +
", countyCode=" + countyCode +
", countyName='" + countyName + '\'' +
", townCode='" + townCode + '\'' +
", towncode='" + towncode + '\'' +
'}';
}
}

View File

@ -61,7 +61,7 @@ public class DispatchFirePointServiceImpl implements DispatchFirePointService {
*/
@Override
public String insertFirePointChannelOrdinary(AllFirePointQo firePointQo) {
DataWrapper2<Boolean, String> checkLandTypeWrapper = FirePointFilterUtils.checkLandType(firePointQo.getLandType());
DataWrapper2<Boolean, String> checkLandTypeWrapper = FirePointFilterUtils.checkLandType(firePointQo.getLandtype());
if (!checkLandTypeWrapper.getData1()) {
return outputEncapsulationObject(PromptMessageEnum.PROCESS_FAIL, checkLandTypeWrapper.getData2(), locale);
}
@ -79,13 +79,13 @@ public class DispatchFirePointServiceImpl implements DispatchFirePointService {
Double longitude = firePointQo.getLongitude();
Double latitude = firePointQo.getLatitude();
String satelliteType = firePointQo.getSatelliteType();
String landType = firePointQo.getLandType();
String landType = firePointQo.getLandtype();
String confidence = firePointQo.getConfidence();
String fireImage = firePointQo.getFireImage();
String satelliteImage = firePointQo.getSatelliteImage();
String countyCode = String.valueOf(firePointQo.getCountyCode());
String countyName = firePointQo.getCountyName();
String townCode = firePointQo.getTownCode();
String townCode = firePointQo.getTowncode();
LocalDateTime satelliteLocalDateTime = LocalDateTime.ofEpochSecond(satelliteTimeTs, 0, ZoneOffset.ofHours(8));
String satelliteTime = DateTimeUtils.localDateTimeToString(satelliteLocalDateTime);//卫星时间
@ -176,7 +176,7 @@ public class DispatchFirePointServiceImpl implements DispatchFirePointService {
*/
@Override
public String insertFirePointChannelPrecise(AllFirePointQo firePointQo) {
DataWrapper2<Boolean, String> checkLandTypeWrapper = FirePointFilterUtils.checkLandType(firePointQo.getLandType());
DataWrapper2<Boolean, String> checkLandTypeWrapper = FirePointFilterUtils.checkLandType(firePointQo.getLandtype());
if (!checkLandTypeWrapper.getData1()) {
return outputEncapsulationObject(PromptMessageEnum.PROCESS_FAIL, checkLandTypeWrapper.getData2(), locale);
}
@ -193,13 +193,13 @@ public class DispatchFirePointServiceImpl implements DispatchFirePointService {
Double longitude = firePointQo.getLongitude();
Double latitude = firePointQo.getLatitude();
String satelliteType = firePointQo.getSatelliteType();
String landType = firePointQo.getLandType();
String landType = firePointQo.getLandtype();
String confidence = firePointQo.getConfidence();
String fireImage = firePointQo.getFireImage();
String satelliteImage = firePointQo.getSatelliteImage();
String countyCode = String.valueOf(firePointQo.getCountyCode());
String countyName = firePointQo.getCountyName();
String townCode = firePointQo.getTownCode();
String townCode = firePointQo.getTowncode();
LocalDateTime satelliteLocalDateTime = LocalDateTime.ofEpochSecond(satelliteTimeTs, 0, ZoneOffset.ofHours(8));
String satelliteTime = DateTimeUtils.localDateTimeToString(satelliteLocalDateTime);//卫星时间