コード例 #1
0
 public boolean censored(int id, boolean pass) {
   boolean flag;
   PaidDetail paidDetail = paidDao.find(id);
   paidDetail.setCensored(pass ? Constants.CENSORED_PASS : Constants.CENSORED_REFUSE);
   flag = paidDao.update(paidDetail);
   if (flag) {
     log.debug(MyFactory.getUserService().getCurrentUserName() + " censored " + paidDetail);
   }
   return flag;
 }