| | |
| | | //批量处理 房屋信息 |
| | | refreshRooms(machines); |
| | | |
| | | //位置未分配时 |
| | | refreshOther(machines); |
| | | |
| | | } |
| | | |
| | | /** |
| | |
| | | |
| | | if (!"2000".equals(machineDto.getLocationTypeCd()) |
| | | && !"3000".equals(machineDto.getLocationTypeCd()) |
| | | && !"4000".equals(machineDto.getLocationTypeCd()) |
| | | ) { |
| | | communityIds.add(machineDto.getLocationObjId()); |
| | | tmpMachineDtos.add(machineDto); |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 获取批量单元 |
| | | * |
| | | * @param machines 设备信息 |
| | | * @return 批量userIds 信息 |
| | | */ |
| | | private void refreshOther(List<MachineDto> machines) { |
| | | for (MachineDto machineDto : machines) { |
| | | |
| | | if ("4000".equals(machineDto.getLocationTypeCd())) { |
| | | machineDto.setLocationObjName("未分配"); |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | public ICommunityInnerServiceSMO getCommunityInnerServiceSMOImpl() { |
| | | return communityInnerServiceSMOImpl; |
| | | } |