public ActionResult Add(WMS_SCHEDULE_MASTER mast, object detail)
 {
     string userid = this.GetCookieValue("userid");
     mast.OPERATER = userid;
     bool bResult = ScheduleMasterService.Add(mast, detail);
     string msg = bResult ? "新增成功" : "新增失败";
     return Json(JsonMessageHelper.getJsonMessage(bResult, msg, null), "text/html", JsonRequestBehavior.AllowGet);
 }
 public ActionResult Edit(WMS_SCHEDULE_MASTER mast, object detail)
 {
     bool bResult = ScheduleMasterService.Edit(mast , detail);
     string msg = bResult ? "修改成功" : "修改失败";
     return Json(JsonMessageHelper.getJsonMessage(bResult, msg, null), "text/html", JsonRequestBehavior.AllowGet);
 }