コード例 #1
0
 @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;
 }
コード例 #2
0
 @Override
 public boolean execute(RefundModel refund, String params, ResultParam result) {
   refundDAO.updateStatus(RefundModel.STATUS_REJECT1, refund.getId());
   return true;
 }