예제 #1
0
 private String getEmailAddr(Bill bill) {
   if (bill == null) return null;
   String currName = bill.getCurrUserName();
   if (!Util.isEmpty(currName)) {
     List<User> list = billDao.getEntitiesByColumn(User.class, "name", currName);
     if (list != null && list.size() > 0) return list.get(0).getEmail();
   }
   return null;
 }