|
|
@@ -301,6 +301,8 @@ public class LawyerConsultationOrderController {
|
|
|
@ApiImplicitParam(name = "size", value = "页容(默认10)", dataType = "int", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "startDate", value = "开始时间", dataType = "String", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "endDate", value = "结束时间", dataType = "String", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "clientUserName", value = "用户姓名", dataType = "String", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "orderStatus", value = "订单状态(2 进行中,3 已完成)", dataType = "String", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "lawyerId", value = "律师ID", dataType = "String", paramType = "query", required = true)
|
|
|
})
|
|
|
@GetMapping("/getLawyerConsultationOrderInfo")
|
|
|
@@ -309,9 +311,10 @@ public class LawyerConsultationOrderController {
|
|
|
@RequestParam(defaultValue = "10") int size,
|
|
|
@RequestParam(required = false) String startDate,
|
|
|
@RequestParam(required = false) String endDate,
|
|
|
+ @RequestParam(required = false) String clientUserName,
|
|
|
@RequestParam(required = true) String lawyerId) {
|
|
|
- log.info("LawyerConsultationOrderController.getLawyerConsultationOrderInfo?page={},size={},startDate={},endDate={},lawyerId={}",
|
|
|
- page, size, startDate, endDate, lawyerId);
|
|
|
+ log.info("LawyerConsultationOrderController.getLawyerConsultationOrderInfo?page={},size={},startDate={},endDate={},clientUserName={},lawyerId={}",
|
|
|
+ page, size, startDate, endDate, clientUserName, lawyerId);
|
|
|
|
|
|
// 参数校验
|
|
|
if (lawyerId == null || lawyerId.trim().isEmpty()) {
|
|
|
@@ -323,7 +326,7 @@ public class LawyerConsultationOrderController {
|
|
|
int pageNum = page > 0 ? page : 1;
|
|
|
int pageSize = size > 0 ? size : 10;
|
|
|
|
|
|
- return R.data(consultationOrderService.getLawyerConsultationOrderInfo(pageNum, pageSize, startDate, endDate, lawyerId));
|
|
|
+ return R.data(consultationOrderService.getLawyerConsultationOrderInfo(pageNum, pageSize, startDate, endDate, clientUserName, lawyerId));
|
|
|
}
|
|
|
|
|
|
}
|