|
@@ -118,16 +118,16 @@ public class AdmISpaceController {
|
|
|
}
|
|
|
AdmResponse response = floorService.query(admQueryCriteriaFl);
|
|
|
AdmResponse admResponse = new AdmResponse();
|
|
|
- //admResponse.setMessage(param.getString("floorId"));
|
|
|
if(CollUtil.isNotEmpty(response.getContent())){
|
|
|
AdmFloor admFloor = (AdmFloor) response.getContent().get(0);
|
|
|
if(admFloor!= null && StrUtil.isNotEmpty(admFloor.getBimIdPre())){
|
|
|
AdmQueryCriteria request = JsonHelper.toSingleEntity(param, AdmQueryCriteria.class);
|
|
|
request.setName(AdmISpace.OBJ_TYPE);
|
|
|
request.setFilters(" bimId startwith '"+admFloor.getBimIdPre()+"';");
|
|
|
- service.doQuery(AdmContextUtil.toDmpContext(), request, AdmISpace.class);
|
|
|
+ admResponse = service.doQuery(AdmContextUtil.toDmpContext(), request, AdmISpace.class);
|
|
|
}
|
|
|
}
|
|
|
+ admResponse.setMessage(param.getString("floorId"));
|
|
|
return admResponse;
|
|
|
}
|
|
|
|