2021与蓝度共同重构项目,服务端
liuhaonan
2022-09-22 75173289ebdf9d710d6c89c3cff82e4b5aac99f2
ximon-admin/src/main/java/com/sandu/ximon/admin/service/LedPlayerEntityService.java
@@ -89,7 +89,7 @@
     */
    public EquipmentInfomation getBySnAndPlayerSnInfo(String sn) {
        EquipmentInfomation equipmentInfo = new EquipmentInfomation();
        equipmentInfo.setEquipmentType("诺瓦LED");
        equipmentInfo.setEquipmentType("NLED");
        if (sn == null || sn.trim().length() == 0) {
            return equipmentInfo;
        }
@@ -206,10 +206,18 @@
    /**
     * 获取整组的屏幕
     *
     * @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;
    }
}