订单里面增加租车天数

This commit is contained in:
2025-08-10 15:02:17 +08:00
parent c92a468504
commit 544e235ddb
2 changed files with 4 additions and 0 deletions

View File

@ -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"),

View File

@ -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;