以人找房功能bug修改

This commit is contained in:
Renpc-kilig 2021-10-20 20:42:28 +08:00
parent f7dd78f2d4
commit ec2e07c6ba
2 changed files with 4 additions and 5 deletions

View File

@ -149,12 +149,10 @@ public class BuildingHouseServiceImpl extends DefaultBaseService implements IBui
if(null != houseUserDTOS && houseUserDTOS.size() > 0) { if(null != houseUserDTOS && houseUserDTOS.size() > 0) {
String ids = ""; String ids = "";
for(int i=0;i<houseUserDTOS.size();i++) { for(int i=0;i<houseUserDTOS.size();i++) {
if(i > 1) { ids += houseUserDTOS.get(i).getBuildingHouseId() + ",";
ids += ",";
}
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"); params.remove("keywords");
} }
} }

View File

@ -127,6 +127,7 @@
], ],
page: true, page: true,
parseData: function(data) { parseData: function(data) {
console.log(data)
return { return {
'code': 0, 'code': 0,
'msg': '', 'msg': '',