|
|
|
@ -60,7 +60,6 @@ public class TraceRecordController extends BaseController {
|
|
|
|
|
|
|
|
|
|
// 查询记录搜索
|
|
|
|
|
@ApiOperation(value = "追溯查询记录搜索", response = TraceRecordResponse.class)
|
|
|
|
|
@AuthRuleAnnotation("udi/trace/record/filter")
|
|
|
|
|
@GetMapping("udi/trace/record/filter")
|
|
|
|
|
public BaseResponse filterLogs(TraceRecordRequest traceRecordRequest) {
|
|
|
|
|
|
|
|
|
@ -118,4 +117,21 @@ public class TraceRecordController extends BaseController {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取最近查询记录列表‘
|
|
|
|
|
*/
|
|
|
|
|
@GetMapping("udi/trace/record/result/list")
|
|
|
|
|
public BaseResponse getTraceResult(TraceOrderDetailRequest traceOrderDetailRequest) {
|
|
|
|
|
|
|
|
|
|
List<TraceOrderResponse> traceOrderResponses = traceOrderService.filterJoin(traceOrderDetailRequest);
|
|
|
|
|
PageInfo<TraceOrderResponse> pageInfo = new PageInfo<>(traceOrderResponses);
|
|
|
|
|
PageSimpleResponse<TraceOrderResponse> pageSimpleResponse = new PageSimpleResponse<>();
|
|
|
|
|
pageSimpleResponse.setTotal(pageInfo.getTotal());
|
|
|
|
|
pageSimpleResponse.setList(traceOrderResponses);
|
|
|
|
|
return ResultVOUtils.success(pageSimpleResponse);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|