示例#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;
 }