Exemplo n.º 1
0
 protected string GetSellerInfo(object model)
 {
     System.Text.StringBuilder sb = new System.Text.StringBuilder();
     EyouSoft.Model.TourStructure.MSaleInfo sale = (EyouSoft.Model.TourStructure.MSaleInfo)model;
     if (sale != null)
     {
         sb.Append("" + sale.Name + "");
     }
     return(sb.ToString());
 }
Exemplo n.º 2
0
        private string CheckData(string id)
        {
            //审核操作
            bool result = false;

            EyouSoft.BLL.TourStructure.BTour bll = new EyouSoft.BLL.TourStructure.BTour();
            EyouSoft.Model.EnumType.TourStructure.ShowPublisher showPuEmue = Utils.GetFormValue("rdo_CheckTour") == "1" ? EyouSoft.Model.EnumType.TourStructure.ShowPublisher.审核人 : EyouSoft.Model.EnumType.TourStructure.ShowPublisher.供应商;
            EyouSoft.Model.TourStructure.MSaleInfo saleInfo = new EyouSoft.Model.TourStructure.MSaleInfo();
            saleInfo.DeptId   = SiteUserInfo.DeptId;
            saleInfo.Mobile   = SiteUserInfo.Mobile;
            saleInfo.Name     = SiteUserInfo.Name;
            saleInfo.Phone    = SiteUserInfo.Telephone;
            saleInfo.SellerId = SiteUserInfo.UserId;
            result            = bll.Review(id, showPuEmue, saleInfo, UtilsCommons.GetPriceStandard());
            if (result == false)
            {
                return(UtilsCommons.AjaxReturnJson("0", "审核失败!"));
            }
            else
            {
                return(UtilsCommons.AjaxReturnJson("1", "审核成功,正在刷新页面"));
            }
        }