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