更新这些傻逼字段
This commit is contained in:
parent
ba62225a49
commit
3068935bbf
@ -69,7 +69,7 @@ public class DispatchFirePointController {
|
|||||||
// sysUserDao.save(sysUserEntity);
|
// 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.updateProCityCode(i * 5000L, (i + 1) * 5000L);
|
||||||
firePointOrdinaryDao.updateProCityName(i * 5000L, (i + 1) * 5000L);
|
firePointOrdinaryDao.updateProCityName(i * 5000L, (i + 1) * 5000L);
|
||||||
System.out.println(i + "/" + 462);
|
System.out.println(i + "/" + 462);
|
||||||
|
@ -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() {
|
public AllFirePointQo() {
|
||||||
}
|
}
|
||||||
@ -105,12 +105,12 @@ public class AllFirePointQo {
|
|||||||
this.satelliteType = satelliteType;
|
this.satelliteType = satelliteType;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getLandType() {
|
public String getLandtype() {
|
||||||
return landType;
|
return landtype;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setLandType(String landType) {
|
public void setLandtype(String landtype) {
|
||||||
this.landType = landType;
|
this.landtype = landtype;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getConfidence() {
|
public String getConfidence() {
|
||||||
@ -153,12 +153,12 @@ public class AllFirePointQo {
|
|||||||
this.countyName = countyName;
|
this.countyName = countyName;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getTownCode() {
|
public String getTowncode() {
|
||||||
return townCode;
|
return towncode;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setTownCode(String townCode) {
|
public void setTowncode(String towncode) {
|
||||||
this.townCode = townCode;
|
this.towncode = towncode;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -169,13 +169,13 @@ public class AllFirePointQo {
|
|||||||
", longitude=" + longitude +
|
", longitude=" + longitude +
|
||||||
", latitude=" + latitude +
|
", latitude=" + latitude +
|
||||||
", satelliteType='" + satelliteType + '\'' +
|
", satelliteType='" + satelliteType + '\'' +
|
||||||
", landType='" + landType + '\'' +
|
", landtype='" + landtype + '\'' +
|
||||||
", confidence='" + confidence + '\'' +
|
", confidence='" + confidence + '\'' +
|
||||||
", fireImage='" + fireImage + '\'' +
|
", fireImage='" + fireImage + '\'' +
|
||||||
", satelliteImage='" + satelliteImage + '\'' +
|
", satelliteImage='" + satelliteImage + '\'' +
|
||||||
", countyCode=" + countyCode +
|
", countyCode=" + countyCode +
|
||||||
", countyName='" + countyName + '\'' +
|
", countyName='" + countyName + '\'' +
|
||||||
", townCode='" + townCode + '\'' +
|
", towncode='" + towncode + '\'' +
|
||||||
'}';
|
'}';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -61,7 +61,7 @@ public class DispatchFirePointServiceImpl implements DispatchFirePointService {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String insertFirePointChannelOrdinary(AllFirePointQo firePointQo) {
|
public String insertFirePointChannelOrdinary(AllFirePointQo firePointQo) {
|
||||||
DataWrapper2<Boolean, String> checkLandTypeWrapper = FirePointFilterUtils.checkLandType(firePointQo.getLandType());
|
DataWrapper2<Boolean, String> checkLandTypeWrapper = FirePointFilterUtils.checkLandType(firePointQo.getLandtype());
|
||||||
if (!checkLandTypeWrapper.getData1()) {
|
if (!checkLandTypeWrapper.getData1()) {
|
||||||
return outputEncapsulationObject(PromptMessageEnum.PROCESS_FAIL, checkLandTypeWrapper.getData2(), locale);
|
return outputEncapsulationObject(PromptMessageEnum.PROCESS_FAIL, checkLandTypeWrapper.getData2(), locale);
|
||||||
}
|
}
|
||||||
@ -79,13 +79,13 @@ public class DispatchFirePointServiceImpl implements DispatchFirePointService {
|
|||||||
Double longitude = firePointQo.getLongitude();
|
Double longitude = firePointQo.getLongitude();
|
||||||
Double latitude = firePointQo.getLatitude();
|
Double latitude = firePointQo.getLatitude();
|
||||||
String satelliteType = firePointQo.getSatelliteType();
|
String satelliteType = firePointQo.getSatelliteType();
|
||||||
String landType = firePointQo.getLandType();
|
String landType = firePointQo.getLandtype();
|
||||||
String confidence = firePointQo.getConfidence();
|
String confidence = firePointQo.getConfidence();
|
||||||
String fireImage = firePointQo.getFireImage();
|
String fireImage = firePointQo.getFireImage();
|
||||||
String satelliteImage = firePointQo.getSatelliteImage();
|
String satelliteImage = firePointQo.getSatelliteImage();
|
||||||
String countyCode = String.valueOf(firePointQo.getCountyCode());
|
String countyCode = String.valueOf(firePointQo.getCountyCode());
|
||||||
String countyName = firePointQo.getCountyName();
|
String countyName = firePointQo.getCountyName();
|
||||||
String townCode = firePointQo.getTownCode();
|
String townCode = firePointQo.getTowncode();
|
||||||
|
|
||||||
LocalDateTime satelliteLocalDateTime = LocalDateTime.ofEpochSecond(satelliteTimeTs, 0, ZoneOffset.ofHours(8));
|
LocalDateTime satelliteLocalDateTime = LocalDateTime.ofEpochSecond(satelliteTimeTs, 0, ZoneOffset.ofHours(8));
|
||||||
String satelliteTime = DateTimeUtils.localDateTimeToString(satelliteLocalDateTime);//卫星时间
|
String satelliteTime = DateTimeUtils.localDateTimeToString(satelliteLocalDateTime);//卫星时间
|
||||||
@ -176,7 +176,7 @@ public class DispatchFirePointServiceImpl implements DispatchFirePointService {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String insertFirePointChannelPrecise(AllFirePointQo firePointQo) {
|
public String insertFirePointChannelPrecise(AllFirePointQo firePointQo) {
|
||||||
DataWrapper2<Boolean, String> checkLandTypeWrapper = FirePointFilterUtils.checkLandType(firePointQo.getLandType());
|
DataWrapper2<Boolean, String> checkLandTypeWrapper = FirePointFilterUtils.checkLandType(firePointQo.getLandtype());
|
||||||
if (!checkLandTypeWrapper.getData1()) {
|
if (!checkLandTypeWrapper.getData1()) {
|
||||||
return outputEncapsulationObject(PromptMessageEnum.PROCESS_FAIL, checkLandTypeWrapper.getData2(), locale);
|
return outputEncapsulationObject(PromptMessageEnum.PROCESS_FAIL, checkLandTypeWrapper.getData2(), locale);
|
||||||
}
|
}
|
||||||
@ -193,13 +193,13 @@ public class DispatchFirePointServiceImpl implements DispatchFirePointService {
|
|||||||
Double longitude = firePointQo.getLongitude();
|
Double longitude = firePointQo.getLongitude();
|
||||||
Double latitude = firePointQo.getLatitude();
|
Double latitude = firePointQo.getLatitude();
|
||||||
String satelliteType = firePointQo.getSatelliteType();
|
String satelliteType = firePointQo.getSatelliteType();
|
||||||
String landType = firePointQo.getLandType();
|
String landType = firePointQo.getLandtype();
|
||||||
String confidence = firePointQo.getConfidence();
|
String confidence = firePointQo.getConfidence();
|
||||||
String fireImage = firePointQo.getFireImage();
|
String fireImage = firePointQo.getFireImage();
|
||||||
String satelliteImage = firePointQo.getSatelliteImage();
|
String satelliteImage = firePointQo.getSatelliteImage();
|
||||||
String countyCode = String.valueOf(firePointQo.getCountyCode());
|
String countyCode = String.valueOf(firePointQo.getCountyCode());
|
||||||
String countyName = firePointQo.getCountyName();
|
String countyName = firePointQo.getCountyName();
|
||||||
String townCode = firePointQo.getTownCode();
|
String townCode = firePointQo.getTowncode();
|
||||||
|
|
||||||
LocalDateTime satelliteLocalDateTime = LocalDateTime.ofEpochSecond(satelliteTimeTs, 0, ZoneOffset.ofHours(8));
|
LocalDateTime satelliteLocalDateTime = LocalDateTime.ofEpochSecond(satelliteTimeTs, 0, ZoneOffset.ofHours(8));
|
||||||
String satelliteTime = DateTimeUtils.localDateTimeToString(satelliteLocalDateTime);//卫星时间
|
String satelliteTime = DateTimeUtils.localDateTimeToString(satelliteLocalDateTime);//卫星时间
|
||||||
|
Loading…
Reference in New Issue
Block a user