コード例 #1
0
 // 显示提名人
 @Override
 public void showJudgeInfo(RewardsItemClient info) {
   staffArea.clear();
   ParticipateInfoClient participateInfo = info.getTmInfo();
   if (participateInfo instanceof SomeoneClient) {
     for (OrganicationClient org : ((SomeoneClient) participateInfo).getOrganizations()) {
       if (!staffArea.containsItem(org)) {
         staffArea.addItem(org);
       }
     }
   }
 }
コード例 #2
0
 @Override
 public List<String> getNominateIds() {
   List<String> nominateIds = new ArrayList<String>();
   List<OrganicationClient> existKeys = staffArea.getItemList();
   for (OrganicationClient key : existKeys) {
     // if (staffMap.containsKey(key.getId())) {
     // OrganicationClient org = staffMap.get(key.getId());
     nominateIds.add(key.getId());
     // }
   }
   return nominateIds;
 }