Example #1
0
 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;
 }
Example #2
0
 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;
 }