/**
  * 报销审核
  *
  * @return
  */
 @RequestMapping(
     value = "expenseAudit",
     method = {RequestMethod.GET, RequestMethod.POST})
 public @ResponseBody Object expenseAudit(HttpServletRequest request) {
   ResponseResult responseResult = new ResponseResult();
   // 获取请假申请信息
   String expenseAuditInfo = HttpRequestUtil.getInst().getString("expenseAuditInfo");
   if (StringUtils.isEmpty(expenseAuditInfo)) {
     throw new VyiyunException("报销审核信息为空!");
   }
   try {
     JSONObject jsonExpenseAuditInfo =
         JSON.parseObject(URLDecoder.decode(expenseAuditInfo, "UTF-8"));
     expenseService.doAudit(jsonExpenseAuditInfo);
   } catch (Exception e) {
     e.printStackTrace();
     LOGGER.error("报销审核数据格式错误,data:" + expenseAuditInfo, e);
     responseResult.setStatus(-1);
     if (e instanceof VyiyunException) {
       responseResult.setErrorMsg(e.getMessage());
     } else {
       responseResult.setErrorMsg(SpringContextHolder.getI18n("1000000"));
     }
   }
   // 返回数据
   return responseResult;
 }
 /**
  * 删除报销费用
  *
  * @return
  */
 @RequestMapping(
     value = "deleteExpenseFee",
     method = {RequestMethod.GET, RequestMethod.POST})
 public @ResponseBody Object deleteExpenseFee(HttpServletRequest request) {
   ResponseResult responseResult = new ResponseResult();
   // 获取请假申请信息
   String id = HttpRequestUtil.getInst().getString("id");
   if (StringUtils.isEmpty(id)) {
     responseResult.setStatus(-1);
     responseResult.setErrorMsg(SpringContextHolder.getI18n("1002002", new String[] {"id"}, null));
   }
   try {
     expenseFeeService.deleteExpenseFeeById(id);
   } catch (Exception e) {
     LOGGER.error("删除报销费用失败!", e);
     responseResult.setStatus(-1);
     responseResult.setErrorMsg(SpringContextHolder.getI18n("1000000"));
   }
   // 返回数据
   return responseResult;
 }