|
@@ -15,6 +15,7 @@ import shop.alien.lawyer.service.OrderExpirationService;
|
|
|
import shop.alien.util.myBaticsPlus.QueryBuilder;
|
|
import shop.alien.util.myBaticsPlus.QueryBuilder;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
+import java.util.Map;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 咨询订单 前端控制器
|
|
* 咨询订单 前端控制器
|
|
@@ -293,7 +294,7 @@ public class LawyerConsultationOrderController {
|
|
|
return R.data(consultationOrderService.cancelOrder(id));
|
|
return R.data(consultationOrderService.cancelOrder(id));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @ApiOperation("查询咨询订单(律师端)")
|
|
|
|
|
|
|
+ @ApiOperation("查询咨询订单信息(律师端)")
|
|
|
@ApiOperationSupport(order = 14)
|
|
@ApiOperationSupport(order = 14)
|
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(name = "page", value = "页数(默认1)", dataType = "int", paramType = "query"),
|
|
@ApiImplicitParam(name = "page", value = "页数(默认1)", dataType = "int", paramType = "query"),
|
|
@@ -302,15 +303,15 @@ public class LawyerConsultationOrderController {
|
|
|
@ApiImplicitParam(name = "endDate", value = "结束时间", dataType = "String", paramType = "query"),
|
|
@ApiImplicitParam(name = "endDate", value = "结束时间", dataType = "String", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "lawyerId", value = "律师ID", dataType = "String", paramType = "query")
|
|
@ApiImplicitParam(name = "lawyerId", value = "律师ID", dataType = "String", paramType = "query")
|
|
|
})
|
|
})
|
|
|
- @GetMapping("/getLawyerConsultationOrderList")
|
|
|
|
|
- public R<IPage<LawyerConsultationOrderVO>> getLawyerConsultationOrderList(@RequestParam(defaultValue = "1") int page,
|
|
|
|
|
- @RequestParam(defaultValue = "10") int size,
|
|
|
|
|
- @RequestParam(required = false) String startDate,
|
|
|
|
|
- @RequestParam(required = false) String endDate,
|
|
|
|
|
- @RequestParam(required = true) String lawyerId) {
|
|
|
|
|
|
|
+ @GetMapping("/getLawyerConsultationOrderInfo")
|
|
|
|
|
+ public R<Map<String, Object>> getLawyerConsultationOrderInfo(@RequestParam(defaultValue = "1") int page,
|
|
|
|
|
+ @RequestParam(defaultValue = "10") int size,
|
|
|
|
|
+ @RequestParam(required = false) String startDate,
|
|
|
|
|
+ @RequestParam(required = false) String endDate,
|
|
|
|
|
+ @RequestParam(required = true) String lawyerId) {
|
|
|
log.info("LawyerConsultationOrderController.getLawyerConsultationOrderList?pageNum={},pageSize={},startDate={},endDate={},lawyerId={}",
|
|
log.info("LawyerConsultationOrderController.getLawyerConsultationOrderList?pageNum={},pageSize={},startDate={},endDate={},lawyerId={}",
|
|
|
page, size, startDate, endDate, lawyerId);
|
|
page, size, startDate, endDate, lawyerId);
|
|
|
- return consultationOrderService.getLawyerConsultationOrderList(page, size, startDate, endDate, lawyerId);
|
|
|
|
|
|
|
+ return R.data(consultationOrderService.getLawyerConsultationOrderInfo(page, size, startDate, endDate, lawyerId));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|