@RequestMapping(value = "/updateRecordWithStatis", method = RequestMethod.POST)
 public @ResponseBody String updateRecordWithStatis(HttpServletRequest request) {
   evenName = "更新交易记录";
   AjaxObject ajaxObject = new AjaxObject(evenName + "成功!");
   BizTransRecord record = getRecord(request);
   try {
     transRecordService.modifyLastRecord(record);
   } catch (Exception e) {
     logger.error("更新交易信息异常!", e);
     ajaxObject = new AjaxObject(evenName + "失败!");
   }
   ajaxObject.setCallbackType("");
   return ajaxObject.toString();
 }
 @RequestMapping(value = "/delete", method = RequestMethod.POST)
 public @ResponseBody String deleteMany(Long[] ids) {
   evenName = "站内信删除";
   AjaxObject ajaxObject = new AjaxObject(evenName + "成功!");
   try {
     for (Long l : ids) {
       siteMessageService.delete(l);
     }
   } catch (Exception e) {
     ajaxObject = new AjaxObject(evenName + "失败!");
   }
   // 记录日志
   LogUitl.putArgs(LogMessageObject.newWrite().setObjects(new Object[] {Arrays.toString(ids)}));
   ajaxObject.setCallbackType("");
   return ajaxObject.toString();
 }
  @Log(message = "删除了transRecord,ids:{0}。")
  @RequestMapping(value = "/delete", method = RequestMethod.POST)
  public @ResponseBody String deleteMany(Long[] ids) {
    evenName = "transRecord删除";
    AjaxObject ajaxObject = new AjaxObject(evenName + "成功!");
    String[] transRecordTypes = new String[ids.length];
    for (int i = 0; i < ids.length; i++) {
      BizTransRecord transRecord = transRecordService.get(ids[i]);
      transRecordService.delete(transRecord.getId());

      transRecordTypes[i] = transRecord.getId().toString();
    }
    // 记录日志
    LogUitl.putArgs(
        LogMessageObject.newWrite().setObjects(new Object[] {Arrays.toString(transRecordTypes)}));
    ajaxObject.setCallbackType("");
    return ajaxObject.toString();
  }
  @RequestMapping(
      value = "/clear",
      method = {RequestMethod.GET, RequestMethod.POST})
  public @ResponseBody String clear(Long[] ids) {
    evenName = "删除交易记录";
    AjaxObject ajaxObject = new AjaxObject(evenName + "成功!");
    try {
      if (null == ids || ids.length == 0) {

      } else {
        for (long id : ids) {
          transRecordService.deleteRecordByMemberId(id);
        }
      }
    } catch (Exception e) {
      logger.error("删除交易信息异常!", e);
      ajaxObject = new AjaxObject(evenName + "失败!");
    }
    ajaxObject.setCallbackType("");
    return ajaxObject.toString();
  }