From 825eecad93210119f76dda5348088a055107b721 Mon Sep 17 00:00:00 2001 From: zc <zc> Date: 星期二, 30 七月 2024 18:10:07 +0800 Subject: [PATCH] 订单只传递一种物料的时候,订单皆苦的批量出库查询接口数据返回不对 --- src/main/java/com/zy/asrs/mapper/ReportQueryMapper.java | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/zy/asrs/mapper/ReportQueryMapper.java b/src/main/java/com/zy/asrs/mapper/ReportQueryMapper.java index d3dce46..6a804db 100644 --- a/src/main/java/com/zy/asrs/mapper/ReportQueryMapper.java +++ b/src/main/java/com/zy/asrs/mapper/ReportQueryMapper.java @@ -69,11 +69,15 @@ + "where ymd>CONVERT(char(10), DATEADD(DAY,-12,GETDATE()), 120) group by ymd order by ymd") public List<WorkChartAxis> getChartAxis(); - List<ViewWorkCountInView> selectWorkCountIn(@Param("curr") Integer curr, @Param("limit") Integer limit); + List<ViewWorkCountInView> selectWorkCountIn(@Param("curr") Integer curr, @Param("limit") Integer limit, @Param("matnr")String matnr, @Param("start") String startTime, @Param("end") String endTime); - Integer selectWorkCountInTotal(); + Integer selectWorkCountInTotal(String matnr, @Param("start") String startTime, @Param("end") String endTime); - List<ViewWorkCountInView> selectWorkCountOut(@Param("curr") Integer pageNumber, @Param("limit") Integer pageSize); + List<ViewWorkCountInView> selectWorkCountOut(@Param("curr") Integer pageNumber, @Param("limit") Integer pageSize, String matnr, @Param("start") String startTime, @Param("end") String endTime); - Integer selectWorkCountOutTotal(); + Integer selectWorkCountOutTotal(String matnr, @Param("start") String startTime, @Param("end") String endTime); + + Integer selectWorkCountInSum(String matnr, @Param("start") String startTime, @Param("end") String endTime); + + Integer selectWorkCountOutSum(String matnr, @Param("start") String startTime, @Param("end") String endTime); } -- Gitblit v1.9.1