From a3bde1134432d6a350651e9ffd7a18fda1a84ce9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Wed, 15 Jul 2020 21:42:15 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=BA=93=E5=AD=98=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=8A=A5=E8=A1=A8bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/jsh/erp/controller/DepotItemController.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/jsh/erp/controller/DepotItemController.java b/src/main/java/com/jsh/erp/controller/DepotItemController.java index c814fd5a..d17fe835 100644 --- a/src/main/java/com/jsh/erp/controller/DepotItemController.java +++ b/src/main/java/com/jsh/erp/controller/DepotItemController.java @@ -252,13 +252,14 @@ public class DepotItemController { * 查找所有的明细 * @param currentPage * @param pageSize - * @param projectId + * @param depotId * @param monthTime - * @param headIds - * @param materialIds + * @param name + * @param model * @param mpList * @param request * @return + * @throws Exception */ @PostMapping(value = "/findByAll") public BaseResponseInfo findByAll(@RequestParam("currentPage") Integer currentPage, @@ -278,7 +279,7 @@ public class DepotItemController { List dataList = depotItemService.findByAll(StringUtil.toNull(name), StringUtil.toNull(model), timeB,(currentPage-1)*pageSize, pageSize); String[] mpArr = mpList.split(","); - int total = depotItemService.findByAllCount(StringUtil.toNull(name), timeB, StringUtil.toNull(model)); + int total = depotItemService.findByAllCount(StringUtil.toNull(name), StringUtil.toNull(model), timeB); map.put("total", total); //存放数据json数组 JSONArray dataArray = new JSONArray();