Commit 3e8b30d1 by wangli

修改,非必填参数

1 parent 9a9798fb
...@@ -17,16 +17,16 @@ public class OrderServiceListController { ...@@ -17,16 +17,16 @@ public class OrderServiceListController {
private OrderServiceListService orderServiceListService; private OrderServiceListService orderServiceListService;
@GetMapping("/order/service/list") @GetMapping("/order/service/list")
public Result<?> getOrderServiceList(@RequestParam("startDate") String startDate, public Result<?> getOrderServiceList(@RequestParam String startDate,
@RequestParam("endDate") String endDate, @RequestParam String endDate,
@RequestParam("page") long page, @RequestParam long page,
@RequestParam("size") long size, @RequestParam long size,
@RequestParam("sort") String sort, @RequestParam(required = false) String sort,
@RequestParam("appointmentType") String appointmentType, @RequestParam(required = false) String appointmentType,
@RequestParam("appointmentStatus") String appointmentStatus, @RequestParam(required = false) String appointmentStatus,
@RequestParam("type") String type, @RequestParam(required = false) String type,
@RequestParam("brand") String brand, @RequestParam(required = false) String brand,
@RequestParam("skill") String skill) { @RequestParam(required = false) String skill) {
Result<?> res = null; Result<?> res = null;
try { try {
res = orderServiceListService.getOrderServiceList(startDate, endDate, page, size, sort, appointmentType, res = orderServiceListService.getOrderServiceList(startDate, endDate, page, size, sort, appointmentType,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!