private void authAction(
      TAcceptBank abBean,
      String auditor,
      AuthRecordStatus accountStatus,
      AuthRecordStatus authStatus,
      MsgInfo.MsgContent msg) {
    TAuthRecord ar = new TAuthRecord();
    ar.setAbid(abBean.getId());
    ar = authRecordDao.query(ar);

    abBean.setAuthstatus(accountStatus);
    abBean.setUpdatetime(new Date());
    ar.setAuthstatus(authStatus);
    ar.setAuthor(auditor);

    acceptBankDAO.update(abBean);
    authRecordDao.update(ar);

    SystemMessageContent mc = new SystemMessageContent(msg.getVal());
    MessageInfoBean mi =
        new MessageInfoBean(
            MsgInfo.MsgBusinessType.BUSINESS_TYPE_COMPANY_AUTH,
            abBean.getId(),
            abBean.getCid(),
            mc);
    mi.setSendPushMsg(true);
    mi.setSendShotMsg(true);
    messageSender.msgSend(mi);
  }
  /* (non-Javadoc)
   * @see com.appabc.common.base.service.IBaseService#query(java.io.Serializable)
   */
  @Override
  public TAcceptBank query(Serializable id) {
    TAcceptBank ab = acceptBankDAO.query(id);

    // 	图片获取
    ab.setvImgList(
        this.uploadImagesService.getViewImgsByOidAndOtype(
            id.toString(), FileInfo.FileOType.FILE_OTYPE_BANK.getVal()));
    return ab;
  }
 /* (non-Javadoc)
  * @see com.appabc.common.base.service.IBaseService#delete(java.io.Serializable)
  */
 @Override
 public void delete(Serializable id) {
   try {
     acceptBankDAO.delete(id);
   } catch (Exception e) {
     logger.info("企业提款人删除失败, error message=" + e.getMessage());
     TAcceptBank ab = this.acceptBankDAO.query(id);
     if (ab != null) {
       logger.info("系统将进行软删除处理, update status=" + AcceptBankStatus.ACCEPT_BANK_STATUS_DEL);
       ab.setStatus(AcceptBankStatus.ACCEPT_BANK_STATUS_DEL);
       this.acceptBankDAO.update(ab);
     }
   }
 }
 /* (non-Javadoc)
  * @see com.appabc.common.base.service.IBaseService#query(com.appabc.common.base.bean.BaseBean)
  */
 @Override
 public TAcceptBank query(TAcceptBank entity) {
   return acceptBankDAO.query(entity);
 }
 /* (non-Javadoc)
  * @see com.appabc.common.base.service.IBaseService#delete(com.appabc.common.base.bean.BaseBean)
  */
 @Override
 public void delete(TAcceptBank entity) {
   acceptBankDAO.delete(entity);
 }
 /* (non-Javadoc)
  * @see com.appabc.common.base.service.IBaseService#modify(com.appabc.common.base.bean.BaseBean)
  */
 @Override
 public void modify(TAcceptBank entity) {
   acceptBankDAO.update(entity);
 }
 /* (non-Javadoc)
  * @see com.appabc.common.base.service.IBaseService#add(com.appabc.common.base.bean.BaseBean)
  */
 @Override
 public void add(TAcceptBank entity) {
   acceptBankDAO.save(entity);
 }
 @Override
 public QueryContext<TAcceptBank> queryListForAuthFinished(
     QueryContext<TAcceptBank> queryContext) {
   return acceptBankDAO.queryListForAuditFinished(queryContext);
 }
 /* (non-Javadoc)
  * @see com.appabc.common.base.service.IBaseService#queryListForPagination(com.appabc.common.base.QueryContext)
  */
 @Override
 public QueryContext<TAcceptBank> queryListForPagination(QueryContext<TAcceptBank> qContext) {
   return acceptBankDAO.queryListForPagination(qContext);
 }
 /* (non-Javadoc)
  * @see com.appabc.common.base.service.IBaseService#queryForList(java.util.Map)
  */
 @Override
 public List<TAcceptBank> queryForList(Map<String, ?> args) {
   return acceptBankDAO.queryForList(args);
 }
 /* (non-Javadoc)
  * @see com.appabc.common.base.service.IBaseService#queryForList(com.appabc.common.base.bean.BaseBean)
  */
 @Override
 public List<TAcceptBank> queryForList(TAcceptBank entity) {
   return acceptBankDAO.queryForList(entity);
 }