private SearchVO convertBlackListEntityToTableData(WBListEntity blackListEntity) { SearchVO tableData = new SearchVO(); tableData.setKey(blackListEntity.getKeyId()); tableData.setAppId(blackListEntity.getAppId()); tableData.setAccounts("--"); tableData.setPhones("--"); tableData.setDevices("--"); tableData.setUid(blackListEntity.getId()); tableData.setHasBlackListData("0"); return tableData; }
private SearchVO convertAccountEntityToTableData(AccountEntity accountEntity) { SearchVO tableData = new SearchVO(); tableData.setKey(accountEntity.getKey()); tableData.setAccounts(accountEntity.getKey()); tableData.setAppId(accountEntity.getAppid()); if (accountEntity.getDevices() != null) { tableData.setDevices(accountEntity.getDevices()); } if (accountEntity.getPhones() != null) { tableData.setPhones(accountEntity.getPhones()); } tableData.setUid("--"); return tableData; }