diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/report/ReportController.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/report/ReportController.java index 60f8982..3407e89 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/report/ReportController.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/report/ReportController.java @@ -49,6 +49,14 @@ public class ReportController { return new ResponseEntity<>(TableDataInfo.build(reportService.queryYlOutDetail(whereJson,page)),HttpStatus.OK); } + @GetMapping("/yl/movedetail") + @Log("原料库工单库存明细") + @ApiOperation("原料库工单库存明细") + //@SaCheckPermission("@el.check('material:list')") + public ResponseEntity queryMoveDetail(ReportQuery whereJson, PageQuery page){ + return new ResponseEntity<>(TableDataInfo.build(reportService.queryMoveDetail(whereJson,page)),HttpStatus.OK); + } + @GetMapping("/yl/in") @Log("原材入库明细") @ApiOperation("原材入库明细") diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/report/service/IReportService.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/report/service/IReportService.java index d624286..d1dfeb9 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/report/service/IReportService.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/report/service/IReportService.java @@ -40,6 +40,14 @@ public interface IReportService extends IService { */ IPage queryYlOutDetail(ReportQuery whereJson, PageQuery pageable); + /** + * 查询原料缓存区库存 + * @param whereJson + * @param pageable + * @return + */ + IPage queryMoveDetail(ReportQuery whereJson, PageQuery pageable); + IPage queryYlIn(ReportQuery whereJson, PageQuery pageable); IPage queryYlOut(ReportQuery whereJson, PageQuery pageable); diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/report/service/dao/mapper/ReportMapper.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/report/service/dao/mapper/ReportMapper.java index 9bb44d4..3a4e5e1 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/report/service/dao/mapper/ReportMapper.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/report/service/dao/mapper/ReportMapper.java @@ -27,6 +27,8 @@ public interface ReportMapper extends BaseMapper { IPage queryYlOutDetail(IPage pages, ReportQuery query); + IPage queryMoveDetail(IPage pages, ReportQuery query); + IPage queryYlIn(IPage pages, ReportQuery query); IPage queryYlOut(IPage pages, ReportQuery query); diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/report/service/dao/mapper/ReportMapper.xml b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/report/service/dao/mapper/ReportMapper.xml index 1cc2bc2..bc2871a 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/report/service/dao/mapper/ReportMapper.xml +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/report/service/dao/mapper/ReportMapper.xml @@ -121,6 +121,7 @@ AND p.vehicle_code2 IS NOT NULL AND t.STATUS IN ( '0','1') AND p.region_code IN ( 'YL','YLHC','KJHC' ) + AND (p.ing_task_code IS NULL or p.ing_task_code = '') and m2.supplierName like CONCAT('%', #{query.supplierName}, '%') @@ -147,6 +148,36 @@ ORDER BY point_code ASC + +