/**
  * 执行更新操作,更新完成后跳转到指定批次的数据列表
  *
  * @param bid
  * @param id
  * @return
  */
 @RequestMapping(value = "/INTERFACE_CASE/iblist/update/{bid}/{id}", method = RequestMethod.POST)
 public String updateDataBeanPost(
     String dataName, String dataContent, @PathVariable Integer bid, @PathVariable Integer id) {
   InterfaceDataBean idataBean = inDataBeanService.getDataBean(id);
   idataBean.setDataName(dataName);
   idataBean.setDataContent(dataContent);
   inDataBeanService.updateDataBean(idataBean);
   return "redirect:/data/INTERFACE_CASE/iblist/" + bid;
 }
 /**
  * 执行添加操作
  *
  * @param dataName
  * @param dataContent
  * @param bid
  * @return
  */
 @RequestMapping(value = "/INTERFACE_CASE/iblist/add/{bid}", method = RequestMethod.POST)
 public String addDataBean(String dataName, String dataContent, @PathVariable Integer bid) {
   InterfaceBatchDataBean interBatchDataBean = inBatchDataService.getInBatchBean(bid);
   InterfaceDataBean interDataBean = new InterfaceDataBean();
   interDataBean.setDataContent(dataContent);
   interDataBean.setDataName(dataName);
   interDataBean.setInterfaceBatchDataBean(interBatchDataBean);
   inDataBeanService.addDataBean(interDataBean);
   return "redirect:/data/INTERFACE_CASE/iblist/" + bid;
 }