// 确认单据
  public Bill confirmBill(Bill bill) {
    // 当前处理人
    Provider provider = billDao.getEntityById(Provider.class, bill.getProvider().getId());
    bill.setCurrUserName(provider.getAccount().getName());
    bill.setProviderAccount(provider.getAccount());

    User userObj = (User) ActionContext.getContext().getSession().get(WebConstants.SESS_USER_OBJ);
    if (userObj instanceof ManagerAccount) {
      ManagerAccount aa = (ManagerAccount) userObj;
      bill.setManager(aa);
    }
    baseDao.saveOrUpdate(bill);
    // 保存日志
    BillLog log = Util.getBaseLog(BillLog.class, "审核中 -> 已审核");
    log.setBill(bill);
    log.setRemark(bill.getShenpiRemark());
    baseDao.saveOrUpdate(log);

    // 发邮件
    sendEmail(bill, "单据通过审核");

    logger.info("提交单据【" + bill.getOrderId() + "】成功");
    return bill;
  }