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': '',