订单里面增加租车天数
This commit is contained in:
@ -56,6 +56,7 @@ public interface OrderConvert {
|
|||||||
@Mapping(source = "orderMainPO.customerName", target = "customerName"),
|
@Mapping(source = "orderMainPO.customerName", target = "customerName"),
|
||||||
@Mapping(source = "orderMainPO.rentalType", target = "rentalType"),
|
@Mapping(source = "orderMainPO.rentalType", target = "rentalType"),
|
||||||
@Mapping(source = "orderMainPO.rentalPrice", target = "rentalPrice"),
|
@Mapping(source = "orderMainPO.rentalPrice", target = "rentalPrice"),
|
||||||
|
@Mapping(source = "orderMainPO.rentalDays", target = "rentalDays"),
|
||||||
@Mapping(source = "orderMainPO.overdueType", target = "overdueType"),
|
@Mapping(source = "orderMainPO.overdueType", target = "overdueType"),
|
||||||
@Mapping(source = "orderMainPO.overdueFee", target = "overdueFee"),
|
@Mapping(source = "orderMainPO.overdueFee", target = "overdueFee"),
|
||||||
@Mapping(source = "orderMainPO.depositPrice", target = "depositPrice"),
|
@Mapping(source = "orderMainPO.depositPrice", target = "depositPrice"),
|
||||||
|
|||||||
@ -68,6 +68,9 @@ public class OrderDetailDTO {
|
|||||||
@ApiModelProperty("租赁类型标签")
|
@ApiModelProperty("租赁类型标签")
|
||||||
private String rentalTypeLabel;
|
private String rentalTypeLabel;
|
||||||
|
|
||||||
|
@ApiModelProperty("租赁天数(当类型为\"按天数\"时使用)")
|
||||||
|
private Integer rentalDays;
|
||||||
|
|
||||||
@ApiModelProperty("租车价格(元)")
|
@ApiModelProperty("租车价格(元)")
|
||||||
private BigDecimal rentalPrice;
|
private BigDecimal rentalPrice;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user