新增订单相关字段
This commit is contained in:
@ -60,7 +60,10 @@ public interface OrderConvert {
|
|||||||
@Mapping(source = "orderMainPO.firstOrderTime", target = "firstOrderTime"),
|
@Mapping(source = "orderMainPO.firstOrderTime", target = "firstOrderTime"),
|
||||||
@Mapping(source = "orderMainPO.startRentTime", target = "startRentTime"),
|
@Mapping(source = "orderMainPO.startRentTime", target = "startRentTime"),
|
||||||
@Mapping(source = "orderMainPO.endRentTime", target = "endRentTime"),
|
@Mapping(source = "orderMainPO.endRentTime", target = "endRentTime"),
|
||||||
|
@Mapping(source = "orderMainPO.reqEndRentTime", target = "reqEndRentTime"),
|
||||||
|
@Mapping(source = "orderMainPO.actEndRentTime", target = "actEndRentTime"),
|
||||||
@Mapping(source = "companyStoreDTO.name", target = "storeName"),
|
@Mapping(source = "companyStoreDTO.name", target = "storeName"),
|
||||||
|
@Mapping(source = "companyStoreDTO.detailedAddress", target = "detailedAddress"),
|
||||||
@Mapping(source = "carDTO.modelName", target = "modelName"),
|
@Mapping(source = "carDTO.modelName", target = "modelName"),
|
||||||
@Mapping(source = "carDTO.brandName", target = "brandName"),
|
@Mapping(source = "carDTO.brandName", target = "brandName"),
|
||||||
@Mapping(source = "carDTO.id", target = "carId"),
|
@Mapping(source = "carDTO.id", target = "carId"),
|
||||||
|
|||||||
@ -24,6 +24,9 @@ public class OrderDetailDTO {
|
|||||||
@ApiModelProperty("门店名称")
|
@ApiModelProperty("门店名称")
|
||||||
private String storeName;
|
private String storeName;
|
||||||
|
|
||||||
|
@ApiModelProperty("详细地址")
|
||||||
|
private String detailedAddress;
|
||||||
|
|
||||||
@ApiModelProperty("车型名称")
|
@ApiModelProperty("车型名称")
|
||||||
private String modelName;
|
private String modelName;
|
||||||
|
|
||||||
@ -73,6 +76,12 @@ public class OrderDetailDTO {
|
|||||||
@ApiModelProperty("还车时间")
|
@ApiModelProperty("还车时间")
|
||||||
private LocalDateTime endRentTime;
|
private LocalDateTime endRentTime;
|
||||||
|
|
||||||
|
@ApiModelProperty("申请还车时间")
|
||||||
|
private LocalDateTime reqEndRentTime;
|
||||||
|
|
||||||
|
@ApiModelProperty("实际还车时间")
|
||||||
|
private LocalDateTime actEndRentTime;
|
||||||
|
|
||||||
@ApiModelProperty("电池订单号")
|
@ApiModelProperty("电池订单号")
|
||||||
private String rentBatteyOrderNo;
|
private String rentBatteyOrderNo;
|
||||||
|
|
||||||
@ -96,4 +105,10 @@ public class OrderDetailDTO {
|
|||||||
|
|
||||||
@ApiModelProperty("逾期金额")
|
@ApiModelProperty("逾期金额")
|
||||||
private Integer overdueAmount;
|
private Integer overdueAmount;
|
||||||
|
|
||||||
|
@ApiModelProperty("换电次数")
|
||||||
|
private Integer changeBatteyTimes;
|
||||||
|
|
||||||
|
@ApiModelProperty("续租次数")
|
||||||
|
private Integer reRentTimes;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user