Example #1
0
 private SearchVO convertDeviceEntityToTableData(DeviceEntity deviceEntity) {
   SearchVO tableData = new SearchVO();
   tableData.setKey(deviceEntity.getKey());
   tableData.setDevices(deviceEntity.getKey());
   tableData.setAppId(deviceEntity.getAppid());
   if (deviceEntity.getAccounts() != null) {
     tableData.setAccounts(deviceEntity.getAccounts());
   }
   if (deviceEntity.getPhones() != null) {
     tableData.setPhones(deviceEntity.getPhones());
   }
   tableData.setUid("--");
   return tableData;
 }