From ec2e07c6baa83e1535f162addfa6ad168d4dd49a Mon Sep 17 00:00:00 2001 From: Renpc-kilig <308442850@qq.com> Date: Wed, 20 Oct 2021 20:42:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A5=E4=BA=BA=E6=89=BE=E6=88=BF=E5=8A=9F?= =?UTF-8?q?=E8=83=BDbug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../buildinghouse/impl/BuildingHouseServiceImpl.java | 8 +++----- .../resources/templates/buildinghouse/list-check.html | 1 + 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/java/cn/com/tenlion/systemhouse/service/buildinghouse/impl/BuildingHouseServiceImpl.java b/src/main/java/cn/com/tenlion/systemhouse/service/buildinghouse/impl/BuildingHouseServiceImpl.java index e949106..afd4e6a 100644 --- a/src/main/java/cn/com/tenlion/systemhouse/service/buildinghouse/impl/BuildingHouseServiceImpl.java +++ b/src/main/java/cn/com/tenlion/systemhouse/service/buildinghouse/impl/BuildingHouseServiceImpl.java @@ -149,12 +149,10 @@ public class BuildingHouseServiceImpl extends DefaultBaseService implements IBui if(null != houseUserDTOS && houseUserDTOS.size() > 0) { String ids = ""; for(int i=0;i 1) { - ids += ","; - } - ids += houseUserDTOS.get(i).getBuildingHouseId(); + ids += houseUserDTOS.get(i).getBuildingHouseId() + ","; } - params.put("buildingHouseIds", Arrays.asList(ids)); + ids = ids.substring(0, ids.length()-1); + params.put("buildingHouseIds", Arrays.asList(ids.split(","))); params.remove("keywords"); } } diff --git a/src/main/resources/templates/buildinghouse/list-check.html b/src/main/resources/templates/buildinghouse/list-check.html index b01a223..60a12f8 100644 --- a/src/main/resources/templates/buildinghouse/list-check.html +++ b/src/main/resources/templates/buildinghouse/list-check.html @@ -127,6 +127,7 @@ ], page: true, parseData: function(data) { + console.log(data) return { 'code': 0, 'msg': '',