|
@@ -141,12 +141,12 @@ public class AdmFloorController {
|
|
|
}
|
|
|
admQueryCriteria.setName(AdmISpace.OBJ_TYPE);
|
|
|
AdmResponse admResponseISpace = iAdmISpaceService.doQuery(AdmContextUtil.toDmpContext(), admQueryCriteria, AdmISpace.class);
|
|
|
- if(admResponseISpace.getResult().equals(DmpResult.SUCCESS) && admResponseSpace.getCount() > 0){
|
|
|
+ if(admResponseISpace.getResult().equals(DmpResult.SUCCESS) && admResponseISpace.getCount() > 0){
|
|
|
return AdmResponse.failure(msg);
|
|
|
}
|
|
|
admQueryCriteria.setName(AdmEquipment.OBJ_TYPE);
|
|
|
AdmResponse admResponseEuip = equipmentService.query(admQueryCriteria);
|
|
|
- if(admResponseEuip.getResult().equals(DmpResult.SUCCESS) && admResponseSpace.getCount() > 0){
|
|
|
+ if(admResponseEuip.getResult().equals(DmpResult.SUCCESS) && admResponseEuip.getCount() > 0){
|
|
|
return AdmResponse.failure(msg);
|
|
|
}
|
|
|
service.doDelete(AdmContextUtil.toDmpContext(), vos);
|