From 8b746e482fea845bd6d044d609acc2763783d0bd Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期三, 27 八月 2025 12:17:29 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- 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