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