@@ -153,7 +153,7 @@ public class AdmLabslController {
}
if(specialQueryFlag){
//查询未明确建筑,未明确楼层
- Long count = queryResponse.getCount();
+ Long count = CollectionUtil.isEmpty(queryResponse.getContent()) ? 0 : Long.valueOf(queryResponse.getContent().size());
Integer pageSize = request.getPageSize();
if(count < pageSize){
long specailPageSize = pageSize - count;