/**
  * 此方法描述的是:
  *
  * @author: zhangjh
  * @version: 2015年4月29日 下午5:35:09
  */
 @RequestMapping(value = "/edit", method = RequestMethod.POST)
 @ResponseBody
 public Map<String, Object> edit(
     BondingLaminationCoatingInfo areaInfo,
     HttpServletRequest request,
     HttpServletResponse respones) {
   bondingLaminationCoatingService.edit(areaInfo);
   ApplicationContext appContext = RequestContextUtils.getWebApplicationContext(request);
   BondingLaminationCoatingServiceHelper.SINGLETONE.refreshSelect(appContext);
   Map<String, Object> resultMap = new HashMap<String, Object>();
   resultMap.put("code", "0");
   resultMap.put("message", "更新成功");
   return resultMap;
 }
 /**
  * 此方法描述的是:
  *
  * @author: zhangjh
  * @version: 2015年4月29日 下午5:35:09
  */
 @RequestMapping(value = "/new", method = RequestMethod.POST)
 @ResponseBody
 public Map<String, Object> add(
     BondingLaminationCoatingInfo areaInfo,
     HttpServletRequest request,
     HttpServletResponse reareaonse) {
   String currentNo = bondingLaminationCoatingService.queryCurrentSeqNo();
   // 设置ID
   areaInfo.setNatrualkey(
       BuildSeqNoHelper.SINGLETONE.getNextSeqNo(
           TableNameConstant.BLC_INFO, currentNo, incrementNumber));
   bondingLaminationCoatingService.add(areaInfo);
   ApplicationContext appContext = RequestContextUtils.getWebApplicationContext(request);
   BondingLaminationCoatingServiceHelper.SINGLETONE.refreshSelect(appContext);
   Map<String, Object> resultMap = new HashMap<String, Object>();
   resultMap.put("code", "0");
   resultMap.put("message", "新增成功");
   return resultMap;
 }