|
@RequestMapping(value="/addorderroominfo",method = RequestMethod.POST)
@ResponseBody
public String wxBuysDhroominfo(HttpServletRequest request, HttpServletResponse response) {
// AjaxJson j = new AjaxJson();
String message = "添加成功";
try{
TabBookroomPskEntity tabBookroominfo = new TabBookroomPskEntity();
tabBookroominfo.setId(request.getParameter("id"));
tabBookroominfo.setSysOrgCode(request.getParameter("sysOrgCode"));
tabBookroominfo.setBooker(request.getParameter("xm"));
// tabBookroominfo.setRoomcheckin();
//增加订单明细信息
TabBookroomPskMxEntity tabSdhroominfoMx = new TabBookroomPskMxEntity();
tabSdhroominfoMx.setId(request.getParameter("mxid"));
tabSdhroominfoMx.setSysOrgCode(request.getParameter("sysOrgCode"));
tabSdhroominfoMx.setBookid(request.getParameter("id"));
tabSdhroominfoMx.setRoomtypedesc(request.getParameter("roomdesc"));
tabSdhroominfoMx.setRoomtypeid(request.getParameter("roomtypeid"));
tabSdhroominfoMx.setRoomnum(Integer.valueOf(request.getParameter("roomnum")));
|
|