根据人查询订单修复

This commit is contained in:
2025-08-04 23:58:41 +08:00
parent 73573560c0
commit 81606bed08
3 changed files with 9 additions and 1 deletions

View File

@ -33,7 +33,7 @@ public class ClientOrderController {
public Result<IPage<OrderSimpleDTO>> pageCustOrder(@RequestParam(name = "pageNo", required = false, defaultValue = "1") Integer pageNo, public Result<IPage<OrderSimpleDTO>> pageCustOrder(@RequestParam(name = "pageNo", required = false, defaultValue = "1") Integer pageNo,
@RequestParam(name = "pageSize", required = false, defaultValue = "10") Integer pageSize, @RequestParam(name = "pageSize", required = false, defaultValue = "10") Integer pageSize,
@RequestBody OrderQueryReq orderQueryReq){ @RequestBody OrderQueryReq orderQueryReq){
return Result.ok(orderService.pageStoreOrder(pageNo, pageSize, orderQueryReq)); return Result.ok(orderService.pageCustOrder(pageNo, pageSize, orderQueryReq));
} }
@ApiOperation(value = "生成租车订单") @ApiOperation(value = "生成租车订单")

View File

@ -56,6 +56,8 @@ 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.overdueType", target = "overdueType"),
@Mapping(source = "orderMainPO.overdueFee", target = "overdueFee"),
@Mapping(source = "orderMainPO.depositPrice", target = "depositPrice"), @Mapping(source = "orderMainPO.depositPrice", target = "depositPrice"),
@Mapping(source = "orderMainPO.firstOrderTime", target = "firstOrderTime"), @Mapping(source = "orderMainPO.firstOrderTime", target = "firstOrderTime"),
@Mapping(source = "orderMainPO.pickCarTime", target = "pickCarTime"), @Mapping(source = "orderMainPO.pickCarTime", target = "pickCarTime"),

View File

@ -64,6 +64,12 @@ public class OrderDetailDTO {
@ApiModelProperty("租车价格(元)") @ApiModelProperty("租车价格(元)")
private BigDecimal rentalPrice; private BigDecimal rentalPrice;
@ApiModelProperty("逾期金额(元)")
private BigDecimal overdueFee;
@ApiModelProperty("逾期计费类型(按日计费/按月计费)")
private String overdueType;
@ApiModelProperty("押金价格(元)") @ApiModelProperty("押金价格(元)")
private BigDecimal depositPrice; private BigDecimal depositPrice;