From a27f1b573fc5cf9a3b78e2eacb56e44310f83456 Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期三, 27 八月 2025 12:17:01 +0800 Subject: [PATCH] art: 添加入库逻辑,SAP订单同步参数动态配置 --- src/main/java/org/jeecg/modules/mes/controller/MesMaterialLoadingController.java | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/jeecg/modules/mes/controller/MesMaterialLoadingController.java b/src/main/java/org/jeecg/modules/mes/controller/MesMaterialLoadingController.java index 24007bb..7740a65 100644 --- a/src/main/java/org/jeecg/modules/mes/controller/MesMaterialLoadingController.java +++ b/src/main/java/org/jeecg/modules/mes/controller/MesMaterialLoadingController.java @@ -19,6 +19,7 @@ import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.util.Arrays; +import java.util.Map; /** * @Description: 涓婃枡 @@ -50,9 +51,10 @@ @RequestParam(name="pageNo", defaultValue="1") Integer pageNo, @RequestParam(name="pageSize", defaultValue="10") Integer pageSize, HttpServletRequest req) { - QueryWrapper<MesMaterialLoading> queryWrapper = QueryGenerator.initQueryWrapper(mesMaterialLoading, req.getParameterMap()); + Map<String, String[]> parameterMap = req.getParameterMap(); + QueryWrapper<MesMaterialLoading> queryWrapper = QueryGenerator.initQueryWrapper(mesMaterialLoading, parameterMap); Page<MesMaterialLoading> page = new Page<MesMaterialLoading>(pageNo, pageSize); - IPage<MesMaterialLoading> pageList = mesMaterialLoadingService.page(page, queryWrapper); + IPage<MesMaterialLoading> pageList = mesMaterialLoadingService.queryPageList(page, parameterMap); return Result.OK(pageList); } -- Gitblit v1.9.3