From 99af0223ae0858c69d1b75106d5f8bb0ab14b129 Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期三, 27 八月 2025 17:04:29 +0800 Subject: [PATCH] art: 移库单回调出库逻辑添加 --- src/main/java/org/jeecg/modules/mes/controller/MesMaterialUnloadingController.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/main/java/org/jeecg/modules/mes/controller/MesMaterialUnloadingController.java b/src/main/java/org/jeecg/modules/mes/controller/MesMaterialUnloadingController.java index 006deb6..f7c95b9 100644 --- a/src/main/java/org/jeecg/modules/mes/controller/MesMaterialUnloadingController.java +++ b/src/main/java/org/jeecg/modules/mes/controller/MesMaterialUnloadingController.java @@ -157,5 +157,16 @@ public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) { return super.importExcel(request, response, MesMaterialUnloading.class); } + @RequestMapping("/queryUnloadingByLoadingId") + public Result<IPage<MesMaterialUnloading>> queryUnloadingByLoadingId(MesMaterialUnloading mesMaterialUnloading, @RequestParam("loadingId") String loadingId, + @RequestParam(name="pageNo", defaultValue="1") Integer pageNo, + @RequestParam(name="pageSize", defaultValue="10") Integer pageSize, + HttpServletRequest req) { + QueryWrapper<MesMaterialUnloading> queryWrapper = QueryGenerator.initQueryWrapper(mesMaterialUnloading, req.getParameterMap()); + queryWrapper.eq("loading_id", loadingId); + Page<MesMaterialUnloading> page = new Page<MesMaterialUnloading>(pageNo, pageSize); + IPage<MesMaterialUnloading> pageList = mesMaterialUnloadingService.page(page, queryWrapper); + return Result.OK(pageList); + } } -- Gitblit v1.9.3