|
|
@ -70,7 +70,6 @@ public class TraceManuOrderController {
|
|
|
|
@AuthRuleAnnotation("udi/trace/manu/order/filter")
|
|
|
|
@AuthRuleAnnotation("udi/trace/manu/order/filter")
|
|
|
|
@GetMapping("udi/trace/manu/order/filter")
|
|
|
|
@GetMapping("udi/trace/manu/order/filter")
|
|
|
|
public BaseResponse filterLogs(TraceManuOrderRequest traceManuOrderRequest) {
|
|
|
|
public BaseResponse filterLogs(TraceManuOrderRequest traceManuOrderRequest) {
|
|
|
|
|
|
|
|
|
|
|
|
List<TraceManuOrderResponse> traceManuOrderResponses = traceManuOrderService.filterTraces(traceManuOrderRequest);
|
|
|
|
List<TraceManuOrderResponse> traceManuOrderResponses = traceManuOrderService.filterTraces(traceManuOrderRequest);
|
|
|
|
PageInfo<TraceManuOrderResponse> pageInfo = new PageInfo<>(traceManuOrderResponses);
|
|
|
|
PageInfo<TraceManuOrderResponse> pageInfo = new PageInfo<>(traceManuOrderResponses);
|
|
|
|
PageSimpleResponse<TraceManuOrderResponse> pageSimpleResponse = new PageSimpleResponse<>();
|
|
|
|
PageSimpleResponse<TraceManuOrderResponse> pageSimpleResponse = new PageSimpleResponse<>();
|
|
|
@ -83,13 +82,13 @@ public class TraceManuOrderController {
|
|
|
|
@AuthRuleAnnotation("udi/trace/manu/order/relCode")
|
|
|
|
@AuthRuleAnnotation("udi/trace/manu/order/relCode")
|
|
|
|
@GetMapping("udi/trace/manu/order/relCode")
|
|
|
|
@GetMapping("udi/trace/manu/order/relCode")
|
|
|
|
public BaseResponse filterDetail(TraceManuDetailRequest traceManuDetailRequest) {
|
|
|
|
public BaseResponse filterDetail(TraceManuDetailRequest traceManuDetailRequest) {
|
|
|
|
|
|
|
|
|
|
|
|
List<TraceManuCodeRellResponse> traceManuCodeRellResponses = traceManuCodeRelService.filterList(traceManuDetailRequest);
|
|
|
|
List<TraceManuCodeRellResponse> traceManuCodeRellResponses = traceManuCodeRelService.filterList(traceManuDetailRequest);
|
|
|
|
PageInfo<TraceManuCodeRellResponse> pageInfo = new PageInfo<>(traceManuCodeRellResponses);
|
|
|
|
PageInfo<TraceManuCodeRellResponse> pageInfo = new PageInfo<>(traceManuCodeRellResponses);
|
|
|
|
PageSimpleResponse<TraceManuCodeRellResponse> pageSimpleResponse = new PageSimpleResponse<>();
|
|
|
|
PageSimpleResponse<TraceManuCodeRellResponse> pageSimpleResponse = new PageSimpleResponse<>();
|
|
|
|
pageSimpleResponse.setTotal(pageInfo.getTotal());
|
|
|
|
pageSimpleResponse.setTotal(pageInfo.getTotal());
|
|
|
|
pageSimpleResponse.setList(traceManuCodeRellResponses);
|
|
|
|
pageSimpleResponse.setList(traceManuCodeRellResponses);
|
|
|
|
return ResultVOUtils.success(pageSimpleResponse);
|
|
|
|
return ResultVOUtils.success(pageSimpleResponse);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
@Resource
|
|
|
|