/// <summary> /// 确认变更 /// </summary> /// <param name="tourid"></param> /// <returns></returns> private string IsSureChange(string tourid) { string result = ""; if (!string.IsNullOrEmpty(tourid)) { //实例化订单变更实体 MOrderChangeRemind modelMOrderChangeRemind = new MOrderChangeRemind(); //实例化业务 BIndividual bllBIndividual = new BIndividual(); modelMOrderChangeRemind = bllBIndividual.GetOrderChangeModel(SiteUserInfo.CompanyId, tourid); if (modelMOrderChangeRemind != null) { //确认变更人 modelMOrderChangeRemind.SurePerson = SiteUserInfo.Name; //确认变更人ID modelMOrderChangeRemind.SurePersonId = SiteUserInfo.UserId; //确认变更时间 modelMOrderChangeRemind.SureTime = DateTime.Now; //公司编号 modelMOrderChangeRemind.CompanyId = SiteUserInfo.CompanyId; if (bllBIndividual.OrderChangeSure(modelMOrderChangeRemind)) { result = UtilsCommons.AjaxReturnJson("true", "确认变更成功"); } else { result = UtilsCommons.AjaxReturnJson("false", "确认变更失败"); } } else { result = UtilsCommons.AjaxReturnJson("false", "数据对象为空"); } } else { result = UtilsCommons.AjaxReturnJson("false", "数据参数id为空"); } return(result); }