Commit 2cf32a01 authored by 332784038@qq.com's avatar 332784038@qq.com

订单查询参数重构

parent 5a41bced
...@@ -328,7 +328,7 @@ public class OrderController { ...@@ -328,7 +328,7 @@ public class OrderController {
@GetMapping("/customer-order-page") @GetMapping("/customer-order-page")
@ApiOperation("客户详情订单分页") @ApiOperation("客户详情订单分页")
// @PreAuthorize("@ss.hasPermission('ecw:order:query')") // @PreAuthorize("@ss.hasPermission('ecw:order:query')")
public CommonResult<PageResult<OrderBackPageVO>> getCustomerOrderPage(OrderQueryDTO query, PageVO page) { public CommonResult<PageResult<OrderBackPageVO>> getCustomerOrderPage(OrderQueryVO query, PageVO page) {
query.setUserType(UserTypeEnum.ADMIN.getValue()); query.setUserType(UserTypeEnum.ADMIN.getValue());
PageResult<OrderBackPageVO> pageResult = orderQueryService.myOrderPage(query, page); PageResult<OrderBackPageVO> pageResult = orderQueryService.myOrderPage(query, page);
return success(pageResult); return success(pageResult);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment