魏熙美 vor 6 Jahren
Ursprung
Commit
e8f4a282c9

+ 2
- 1
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/impl/MonitoringServiceImpl.java Datei anzeigen

@@ -204,7 +204,8 @@ public class MonitoringServiceImpl implements IMonitoringService {
204 204
 
205 205
         List<TpEquipment> tpEquipments = tpEquipmentMapper.selectByCommunityIdAndUnitId(userElement.getCommunityId(), userElement.getUnitId(), 5);
206 206
         if (CollectionUtils.isEmpty(tpEquipments)) {
207
-            responseBean.addError("系统未配置单元门口机设备!");
207
+            String address = toCommunities.getCommunityName() + tpUnit.getPhaseName() + tpUnit.getBuildingName() + tpUnit.getName();
208
+            responseBean.addError("系统未配置单元门口机设备!", address, null);
208 209
             return responseBean;
209 210
         }
210 211
         TpEquipment tpEquipment = tpEquipments.get(0);