From 3c267b1ef6a2f2ad688d78905a9036990feee38c Mon Sep 17 00:00:00 2001 From: jishenghua <752718920@qq.com> Date: Wed, 26 Mar 2025 23:03:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E5=95=86=E5=93=81=E6=98=8E=E7=BB=86?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=8A=A0=E4=B8=8A=E5=8F=AF=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E5=B1=95=E7=A4=BA=E7=9A=84=E5=AD=97=E6=AE=B5(?= =?UTF-8?q?=E4=BC=98=E5=8C=96)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/jsh/erp/controller/DepotItemController.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jshERP-boot/src/main/java/com/jsh/erp/controller/DepotItemController.java b/jshERP-boot/src/main/java/com/jsh/erp/controller/DepotItemController.java index b4c793e00..cd06d728b 100644 --- a/jshERP-boot/src/main/java/com/jsh/erp/controller/DepotItemController.java +++ b/jshERP-boot/src/main/java/com/jsh/erp/controller/DepotItemController.java @@ -192,7 +192,7 @@ public class DepotItemController { @GetMapping(value = "/getDetailList") @ApiOperation(value = "单据明细列表") public BaseResponseInfo getDetailList(@RequestParam("headerId") Long headerId, - @RequestParam("mpList") String mpList, + @RequestParam(value = "mpList", required = false) String mpList, @RequestParam(value = "linkType", required = false) String linkType, @RequestParam(value = "isReadOnly", required = false) String isReadOnly, HttpServletRequest request)throws Exception { @@ -205,7 +205,6 @@ public class DepotItemController { if(headerId != 0) { dataList = depotItemService.getDetailList(headerId); } - String[] mpArr = mpList.split(","); JSONObject outer = new JSONObject(); outer.put("total", dataList.size()); //存放数据json数组