@Override
 public boolean afterExecute(RefundModel refund, String params) {
   RefundLogModel refundlog = new RefundLogModel();
   refundlog.setRefundid(refund.getId());
   refundlog.setType(getAction());
   refundlog.setOpid(0);
   refundlog.setComment("");
   refundlog.setAddtime(DateUtils.unix_timestamp());
   refundLogDAO.add(refundlog);
   return true;
 }
 @Override
 public boolean beforeExecute(RefundModel refund, String params, ResultParam result) {
   if (refund == null) {
     result.setMetaCode(RefundErrorEnum.REFUND_NOT_EXISTS);
     return false;
   }
   if (!refund.isStatusNew()) {
     result.setMetaCode(RefundErrorEnum.REFUND_APPROVE1_ERROR);
     return false;
   }
   return true;
 }
 @Override
 public boolean execute(RefundModel refund, String params, ResultParam result) {
   refundDAO.updateStatus(RefundModel.STATUS_REJECT1, refund.getId());
   return true;
 }