예제 #1
0
파일: SearchBL.java 프로젝트: uo2p/mi
 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;
 }