根据人查询订单修复
This commit is contained in:
@ -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 = "生成租车订单")
|
||||||
|
|||||||
@ -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"),
|
||||||
|
|||||||
@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user