|
@@ -94,9 +94,9 @@ public class AdmPlanarServiceImpl extends AbstractAdmBaseServiceImpl<T> implemen
|
|
|
private AdmResponse queryAdmEquip(InstanceUrlParam context, AdmPlanarEquipRequests request,Class<AdmEquipment> clazz){
|
|
|
//增加过滤条件
|
|
|
StringBuilder filters = new StringBuilder();
|
|
|
- filters.append("buildingId = "+ request.getBuildingId() +";");
|
|
|
+ filters.append("buildingId = '"+ request.getBuildingId() +"';");
|
|
|
if(StringUtils.isNotEmpty(request.getFloorId())){
|
|
|
- filters.append("floorId = "+ request.getFloorId() +";");
|
|
|
+ filters.append("floorId = '"+ request.getFloorId() +"';");
|
|
|
}
|
|
|
if(CollUtil.isNotEmpty(request.getEquipTypes())){
|
|
|
filters.append("classCode in "+"(\'" + java.lang.String.join("\',\'", request.getEquipTypes()) + "\')");
|
|
@@ -130,9 +130,9 @@ public class AdmPlanarServiceImpl extends AbstractAdmBaseServiceImpl<T> implemen
|
|
|
private AdmResponse queryAdmSpace(InstanceUrlParam context, AdmPlanarEquipRequests request,Class<AdmSpace> clazz){
|
|
|
//增加过滤条件
|
|
|
StringBuilder filters = new StringBuilder();
|
|
|
- filters.append("buildingId = "+ request.getBuildingId() +";");
|
|
|
+ filters.append("buildingId = '"+ request.getBuildingId() +"';");
|
|
|
if(StringUtils.isNotEmpty(request.getFloorId())){
|
|
|
- filters.append("floorId = "+ request.getFloorId() +";");
|
|
|
+ filters.append("floorId = '"+ request.getFloorId() +"';");
|
|
|
}
|
|
|
if(CollUtil.isNotEmpty(request.getZoneTypes())){
|
|
|
filters.append("classCode in "+"(\'" + java.lang.String.join("\',\'", request.getZoneTypes()) + "\')");
|