用户上报新增地址名称字段
This commit is contained in:
parent
73125f8bf3
commit
eefc645cee
@ -27,6 +27,11 @@ public class FeignEbikeReportRecordDto {
|
|||||||
@NotNull(message = "上报位置")
|
@NotNull(message = "上报位置")
|
||||||
private PGpoint location;
|
private PGpoint location;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 地址名称
|
||||||
|
*/
|
||||||
|
private String address;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 上报原因
|
* 上报原因
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -37,6 +37,11 @@ public class FeignEbikeReportRecordVo implements Serializable {
|
|||||||
*/
|
*/
|
||||||
private PGpoint location;
|
private PGpoint location;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 地址名称
|
||||||
|
*/
|
||||||
|
private String address;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 上报原因
|
* 上报原因
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -40,6 +40,11 @@ public class EbikeReportRecordDto {
|
|||||||
@NotNull(message = "上报位置")
|
@NotNull(message = "上报位置")
|
||||||
private Point location;
|
private Point location;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 地址名称
|
||||||
|
*/
|
||||||
|
private String address;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 上报原因
|
* 上报原因
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -45,6 +45,11 @@ public class EbikeReportRecord implements Serializable {
|
|||||||
@JsonDeserialize(using = PointDeserializer.class)
|
@JsonDeserialize(using = PointDeserializer.class)
|
||||||
private Point location;
|
private Point location;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 上报位置名称
|
||||||
|
*/
|
||||||
|
private String address;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 上报原因
|
* 上报原因
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -53,6 +53,7 @@ public class EbikeReportRecordServiceImpl extends ServiceImpl<EbikeReportRecordM
|
|||||||
}
|
}
|
||||||
EbikeReportRecord ebikeReportRecord = EbikeReportRecord.builder()
|
EbikeReportRecord ebikeReportRecord = EbikeReportRecord.builder()
|
||||||
.location(reportRecordDto.getLocation())
|
.location(reportRecordDto.getLocation())
|
||||||
|
.address(reportRecordDto.getAddress())
|
||||||
.recordStatus(GlobalConstants.NUMBER_ZERO)
|
.recordStatus(GlobalConstants.NUMBER_ZERO)
|
||||||
.reportReason(reportRecordDto.getReportReason())
|
.reportReason(reportRecordDto.getReportReason())
|
||||||
.regionId(currentRegion.getRegionId())
|
.regionId(currentRegion.getRegionId())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user