| | |
| | | */ |
| | | public EquipmentInfomation getBySnAndPlayerSnInfo(String sn) { |
| | | EquipmentInfomation equipmentInfo = new EquipmentInfomation(); |
| | | equipmentInfo.setEquipmentType("诺瓦LED"); |
| | | equipmentInfo.setEquipmentType("NLED"); |
| | | if (sn == null || sn.trim().length() == 0) { |
| | | return equipmentInfo; |
| | | } |
| | |
| | | |
| | | /** |
| | | * 获取整组的屏幕 |
| | | * |
| | | * @param groupId |
| | | */ |
| | | public List<LEDNovaGroupListBo> getListByGroupId(Long groupId) { |
| | | List<LEDNovaGroupListBo> listByGroupId = baseMapper.getListByGroupId(groupId, SecurityUtils.getClientId()); |
| | | listByGroupId.forEach( |
| | | bo -> { |
| | | if (bo.getName() == null || bo.getName().equals("")) { |
| | | bo.setName(bo.getPlayerName()); |
| | | } |
| | | } |
| | | ); |
| | | return listByGroupId; |
| | | } |
| | | } |