当前位置: 首页>>代码示例>>C#>>正文


C# Entity.LmSystemLogEntity类代码示例

本文整理汇总了C#中HotelVp.CMS.Domain.Entity.LmSystemLogEntity的典型用法代码示例。如果您正苦于以下问题:C# LmSystemLogEntity类的具体用法?C# LmSystemLogEntity怎么用?C# LmSystemLogEntity使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


LmSystemLogEntity类属于HotelVp.CMS.Domain.Entity命名空间,在下文中一共展示了LmSystemLogEntity类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: OrderConfirmSendMsgToLMSales

        public static LmSystemLogEntity OrderConfirmSendMsgToLMSales(LmSystemLogEntity dbParm, string strHotelID, string strSendMSG)
        {
            DataSet dsSales = LmSystemLogDA.GetSalesLMHotelInfo(strHotelID);

            if (dsSales.Tables.Count == 0 || dsSales.Tables[0].Rows.Count == 0 || String.IsNullOrEmpty(dsSales.Tables[0].Rows[0]["User_Tel"].ToString()))
            {
                return dbParm;
            }

            string DataString = "";
            DataString = DataString + "{\"method\":\"save\",\"data\":{\"syscode\":\"" + "CMS" + "\",\"reqid\":\"" + dsSales.Tables[0].Rows[0]["User_Tel"].ToString() + "\",\"bizcode\":\"" + "CMS-订单确认短信通知" + "\",";
            DataString = DataString + "\"cnfnum\":\"" + dbParm.FogOrderID + "\",\"mobiles\":\"" + dsSales.Tables[0].Rows[0]["User_Tel"].ToString() + "\",\"msg\":\"" + strSendMSG + "\",";
            DataString = DataString + "\"sign\":\"" + PostSignKey("CMS" + dsSales.Tables[0].Rows[0]["User_Tel"].ToString()) + "\"},\"version\":\"v1.0\"}";

            string HotelFullRoomUrl = JsonRequestURLBuilder.applySendMsgV2();
            CallWebPage callWebPage = new CallWebPage();
            string strHotelFullRoom = callWebPage.CallWebByURL(HotelFullRoomUrl, DataString);
            JObject oHotelFullRoom = JObject.Parse(strHotelFullRoom);
            if ("success".Equals(JsonRequestURLBuilder.GetJsonStringValue(oHotelFullRoom, "message").Trim('"')))
            {
                dbParm.Result = 1;
                dbParm.ErrorMSG = "发送成功!";
            }
            else
            {
                dbParm.Result = 2;
                dbParm.ErrorMSG = "发送失败!" + JsonRequestURLBuilder.GetJsonStringValue(oHotelFullRoom, "message").Trim('"');
            }

            return dbParm;
        }
开发者ID:WuziyiaoKingIris20140501,项目名称:KFC,代码行数:31,代码来源:OrderInfoSA.cs

示例2: btnExport_Click

    //导出Excel文件
    protected void btnExport_Click(object sender, EventArgs e)
    {
        LmSystemLogEntity _lmSystemLogEntity = new LmSystemLogEntity();
        CommonEntity _commonEntity = new CommonEntity();

        _lmSystemLogEntity.LogMessages = new HotelVp.Common.Logger.LogMessage();
        _lmSystemLogEntity.LogMessages.Userid = UserSession.Current.UserAccount;
        _lmSystemLogEntity.LogMessages.Username = UserSession.Current.UserDspName;
        _lmSystemLogEntity.LogMessages.IpAddress = UserSession.Current.UserIP;
        _lmSystemLogEntity.EventID = (ViewState.Count == 0 || String.IsNullOrEmpty(ViewState["OrderID"].ToString())) ? null : ViewState["OrderID"].ToString();
        _lmSystemLogEntity.StartDTime = (ViewState.Count == 0 || String.IsNullOrEmpty(ViewState["StartDTime"].ToString())) ? null : ViewState["StartDTime"].ToString(); ;
        _lmSystemLogEntity.EndDTime = (ViewState.Count == 0 || String.IsNullOrEmpty(ViewState["EndDTime"].ToString())) ? null : ViewState["EndDTime"].ToString(); ;
        _lmSystemLogEntity.HotelID = (ViewState.Count == 0 || String.IsNullOrEmpty(ViewState["HotelID"].ToString())) ? null : ViewState["HotelID"].ToString();
        _lmSystemLogEntity.CityID = (ViewState.Count == 0 || String.IsNullOrEmpty(ViewState["CityID"].ToString())) ? null : ViewState["CityID"].ToString();
        _lmSystemLogEntity.PayCode = (ViewState.Count == 0 || String.IsNullOrEmpty(ViewState["PayCode"].ToString())) ? null : ViewState["PayCode"].ToString();
        _lmSystemLogEntity.BookStatus = (ViewState.Count == 0 || String.IsNullOrEmpty(ViewState["BookStatus"].ToString())) ? null : ViewState["BookStatus"].ToString();
        _lmSystemLogEntity.PayStatus = (ViewState.Count == 0 || String.IsNullOrEmpty(ViewState["PayStatus"].ToString())) ? null : ViewState["PayStatus"].ToString();
        _lmSystemLogEntity.PlatForm = (ViewState.Count == 0 || String.IsNullOrEmpty(ViewState["PlatForm"].ToString())) ? null : ViewState["PlatForm"].ToString();
        _lmSystemLogEntity.Ticket = (ViewState.Count == 0 || String.IsNullOrEmpty(ViewState["Ticket"].ToString())) ? null : ViewState["Ticket"].ToString();
        _lmSystemLogEntity.Mobile = (ViewState.Count == 0 || String.IsNullOrEmpty(ViewState["Mobile"].ToString())) ? null : ViewState["Mobile"].ToString();
        _lmSystemLogEntity.InStart = (ViewState.Count == 0 || String.IsNullOrEmpty(ViewState["InStart"].ToString())) ? null : ViewState["InStart"].ToString();
        _lmSystemLogEntity.InEnd = (ViewState.Count == 0 || String.IsNullOrEmpty(ViewState["InEnd"].ToString())) ? null : ViewState["InEnd"].ToString();
        _lmSystemLogEntity.Aprove = (ViewState.Count == 0 || String.IsNullOrEmpty(ViewState["Aprove"].ToString())) ? null : ViewState["Aprove"].ToString();
        DataSet dsResult = LmSystemLogBP.ReviewSelectByNew(_lmSystemLogEntity).QueryResult;
        if (dsResult.Tables.Count == 0 && dsResult.Tables[0].Rows.Count ==0)
        {
            messageContent.InnerHtml = GetLocalResourceObject("WarningMessage").ToString();
            return;
        }
        CommonFunction.ExportExcelForLM(dsResult);
    }
开发者ID:WuziyiaoKingIris20140501,项目名称:KFC,代码行数:32,代码来源:ReviewLmSystemLogPageByNew.aspx.cs

示例3: SetImagePreviewList

    public static string SetImagePreviewList(string Hid, string Otsd, string Oted, string Fst, string Oid, string Fnu)
    {
        LmSystemLogEntity _lmSystemLogEntity = new LmSystemLogEntity();
        _lmSystemLogEntity.LogMessages = new HotelVp.Common.Logger.LogMessage();
        _lmSystemLogEntity.LogMessages.Userid = UserSession.Current.UserAccount;
        _lmSystemLogEntity.LogMessages.Username = UserSession.Current.UserDspName;
        _lmSystemLogEntity.LogMessages.IpAddress = UserSession.Current.UserIP;
        _lmSystemLogEntity.HotelID = Hid;
        _lmSystemLogEntity.OutStart = Otsd;
        _lmSystemLogEntity.OutEnd = Oted;
        _lmSystemLogEntity.FaxStatus = Fst;

        _lmSystemLogEntity.FogOrderID = Oid;
        _lmSystemLogEntity.FaxNum = Fnu;
        string json = "";
        DataSet dsResult = LmSystemLogBP.HotelFaxHis(_lmSystemLogEntity).QueryResult;
        try
        {
            if (dsResult.Tables[0] != null && dsResult.Tables[0].Rows.Count > 0)
            {
                json = ToJson(dsResult.Tables[0]);
            }
            else
            {
                json = "[{\"FAXBDT\":\"\",\"FAXNID\":\"\",\"FAXUNID\":\"\",\"FAXID\":\"\",\"FAXDT\":\"\",\"FAXTST\":\"\",\"FAXBST\":\"\",\"FAXTURL\":\"\",\"FAXBURL\":\"\"}]";
            }
        }
        catch (Exception ex)
        {
            json = "[{\"FAXBDT\":\"\",\"FAXNID\":\"\",\"FAXUNID\":\"\",\"FAXID\":\"\",\"FAXDT\":\"\",\"FAXTST\":\"\",\"FAXBST\":\"\",\"FAXTURL\":\"\",\"FAXBURL\":\"\"}]";
        }

        return json;
    }
开发者ID:WuziyiaoKingIris20140501,项目名称:KFC,代码行数:34,代码来源:OrderApprovedFaxPreView.aspx.cs

示例4: GetHCorderViewList

 public static string GetHCorderViewList(string orderID, string hotelID, string contTel)
 {
     LmSystemLogEntity _lmSystemLogEntity = new LmSystemLogEntity();
     _lmSystemLogEntity.LogMessages = new HotelVp.Common.Logger.LogMessage();
     _lmSystemLogEntity.LogMessages.Userid = UserSession.Current.UserAccount;
     _lmSystemLogEntity.LogMessages.Username = UserSession.Current.UserDspName;
     _lmSystemLogEntity.LogMessages.IpAddress = UserSession.Current.UserIP;
     _lmSystemLogEntity.FogOrderID = orderID;
     _lmSystemLogEntity.HotelID = hotelID;
     _lmSystemLogEntity.ContactTel = contTel;
     string json = "";
     DataSet dsResult = LmSystemLogBP.GetHCorderViewList(_lmSystemLogEntity).QueryResult;
     try
     {
         if (dsResult.Tables[0] != null && dsResult.Tables[0].Rows.Count > 0)
         {
             json = ToJson(dsResult.Tables[0]);
         }
         else
         {
             json = "[]";
         }
     }
     catch (Exception ex)
     {
         json = "[]";
     }
     return json;
 }
开发者ID:WuziyiaoKingIris20140501,项目名称:KFC,代码行数:29,代码来源:OrderConfirmInfoManager.aspx.cs

示例5: ReviewOrderListSelect

        public static LmSystemLogEntity ReviewOrderListSelect(LmSystemLogEntity lmSystemLogEntity)
        {
            lmSystemLogEntity.LogMessages.MsgType = MessageType.INFO;
            lmSystemLogEntity.LogMessages.Content = _nameSpaceClass + "ReviewOrderListSelect";
            LoggerHelper.LogWriter(lmSystemLogEntity.LogMessages);

            try
            {
                return OrderSearchDA.ReviewOrderListSelect(lmSystemLogEntity);
            }
            catch (Exception ex)
            {
                lmSystemLogEntity.LogMessages.MsgType = MessageType.ERROR;
                lmSystemLogEntity.LogMessages.Content = _nameSpaceClass + "ReviewOrderListSelect  Error: " + ex.Message;
                LoggerHelper.LogWriter(lmSystemLogEntity.LogMessages);
                throw ex;
            }
        }
开发者ID:WuziyiaoKingIris20140501,项目名称:KFC,代码行数:18,代码来源:OrderSearchBP.cs

示例6: ChkOrderOperationSelect

        public static LmSystemLogEntity ChkOrderOperationSelect(LmSystemLogEntity lmSystemLogEntity)
        {
            lmSystemLogEntity.LogMessages.MsgType = MessageType.INFO;
            lmSystemLogEntity.LogMessages.Content = _nameSpaceClass + "ChkOrderOperationSelect";
            LoggerHelper.LogWriter(lmSystemLogEntity.LogMessages);

            try
            {
                return LmSystemLogDA.ChkOrderOperationSelect(lmSystemLogEntity);
            }
            catch (Exception ex)
            {
                lmSystemLogEntity.LogMessages.MsgType = MessageType.ERROR;
                lmSystemLogEntity.LogMessages.Content = _nameSpaceClass + "ChkOrderOperationSelect  Error: " + ex.Message;
                LoggerHelper.LogWriter(lmSystemLogEntity.LogMessages);
                throw ex;
            }
        }
开发者ID:WuziyiaoKingIris20140501,项目名称:KFC,代码行数:18,代码来源:LmSystemLogBP.cs

示例7: SetMemoVal

    public static string SetMemoVal(string strKey)
    {
        StringBuilder sbMemo = new StringBuilder();
        LmSystemLogEntity _lmSystemLogEntity = new LmSystemLogEntity();
        _lmSystemLogEntity.LogMessages = new HotelVp.Common.Logger.LogMessage();
        _lmSystemLogEntity.LogMessages.Userid = UserSession.Current.UserAccount;
        _lmSystemLogEntity.LogMessages.Username = UserSession.Current.UserDspName;
        _lmSystemLogEntity.LogMessages.IpAddress = UserSession.Current.UserIP;
        _lmSystemLogEntity.MemoKey = strKey;

        DataSet dsResult = LmSystemLogBP.GetOrderActionHisList(_lmSystemLogEntity).QueryResult;

        if (dsResult.Tables.Count > 0 && dsResult.Tables[0].Rows.Count > 0)
        {
            foreach (DataRow drRow in dsResult.Tables[0].Rows)
            {
                if ("订单确认".Equals(drRow["EVENT_TYPE"].ToString()))
                {
                    if (String.IsNullOrEmpty(drRow["CANNEL"].ToString()) && !"取消单".Equals(drRow["OD_STATUS"].ToString()))
                    {
                        sbMemo.Append(GetMenoHtml(0, drRow));
                    }
                    else
                    {
                        sbMemo.Append(GetMenoHtml(1, drRow));
                    }
                }
                else
                {
                    if (String.IsNullOrEmpty(drRow["CANNEL"].ToString()))
                    {
                        sbMemo.Append(GetMenoHtml(2, drRow));
                    }
                    else
                    {
                        sbMemo.Append(GetMenoHtml(3, drRow));
                    }
                }
            }
        }

        return sbMemo.ToString();
    }
开发者ID:WuziyiaoKingIris20140501,项目名称:KFC,代码行数:43,代码来源:OrderDBApprovedFax.aspx.cs

示例8: UserDetailListSelectByNew

        public static LmSystemLogEntity UserDetailListSelectByNew(LmSystemLogEntity lmSystemLogEntity)
        {
            lmSystemLogEntity.LogMessages.MsgType = MessageType.INFO;
            lmSystemLogEntity.LogMessages.Content = _nameSpaceClass + "UserDetailListSelectByNew";
            LoggerHelper.LogWriter(lmSystemLogEntity.LogMessages);

            try
            {
                return LmSystemLogDA.UserDetailListSelectByNew(lmSystemLogEntity);
            }
            catch (Exception ex)
            {
                lmSystemLogEntity.LogMessages.MsgType = MessageType.ERROR;
                lmSystemLogEntity.LogMessages.Content = _nameSpaceClass + "UserDetailListSelectByNew  Error: " + ex.Message;
                LoggerHelper.LogWriter(lmSystemLogEntity.LogMessages);
                throw ex;
            }
        }
开发者ID:WuziyiaoKingIris20140501,项目名称:KFC,代码行数:18,代码来源:LmSystemLogBP.cs

示例9: SendMsgToLMSales

        public static LmSystemLogEntity SendMsgToLMSales(LmSystemLogEntity lmSystemLogEntity)
        {
            lmSystemLogEntity.LogMessages.MsgType = MessageType.INFO;
            lmSystemLogEntity.LogMessages.Content = _nameSpaceClass + "SendMsgToLMSales";
            LoggerHelper.LogWriter(lmSystemLogEntity.LogMessages);

            try
            {
                return OrderInfoSA.SendMsgToLMSales(lmSystemLogEntity);
            }
            catch (Exception ex)
            {
                lmSystemLogEntity.LogMessages.MsgType = MessageType.ERROR;
                lmSystemLogEntity.LogMessages.Content = _nameSpaceClass + "SendMsgToLMSales  Error: " + ex.Message;
                LoggerHelper.LogWriter(lmSystemLogEntity.LogMessages);
                throw ex;
            }
        }
开发者ID:WuziyiaoKingIris20140501,项目名称:KFC,代码行数:18,代码来源:LmSystemLogBP.cs

示例10: GetOrderInfoData

    private DataSet GetOrderInfoData(string orderID)
    {
        LmSystemLogEntity _lmSystemLogEntity = new LmSystemLogEntity();
        CommonEntity _commonEntity = new CommonEntity();
        _lmSystemLogEntity.LogMessages = new HotelVp.Common.Logger.LogMessage();
        _lmSystemLogEntity.LogMessages.Userid = UserSession.Current.UserAccount;
        _lmSystemLogEntity.LogMessages.Username = UserSession.Current.UserDspName;
        _lmSystemLogEntity.LogMessages.IpAddress = UserSession.Current.UserIP;
        _lmSystemLogEntity.FogOrderID = orderID;

        return LmSystemLogBP.GetOrderInfoData(_lmSystemLogEntity).QueryResult;
    }
开发者ID:WuziyiaoKingIris20140501,项目名称:KFC,代码行数:12,代码来源:SaveIssueManager.aspx.cs

示例11: OrderSurveyDetail

        public static LmSystemLogEntity OrderSurveyDetail(LmSystemLogEntity lmSystemLogEntity)
        {
            lmSystemLogEntity.LogMessages.MsgType = MessageType.INFO;
            lmSystemLogEntity.LogMessages.Content = _nameSpaceClass + "OrderSurveyDetail";
            LoggerHelper.LogWriter(lmSystemLogEntity.LogMessages);

            try
            {
                return LmSystemLogDA.OrderSurveyDetail(lmSystemLogEntity);
            }
            catch (Exception ex)
            {
                lmSystemLogEntity.LogMessages.MsgType = MessageType.ERROR;
                lmSystemLogEntity.LogMessages.Content = _nameSpaceClass + "OrderSurveyDetail  Error: " + ex.Message;
                LoggerHelper.LogWriter(lmSystemLogEntity.LogMessages);
                throw ex;
            }
        }
开发者ID:WuziyiaoKingIris20140501,项目名称:KFC,代码行数:18,代码来源:LmSystemLogBP.cs

示例12: SaveOrderListInterFace

        public static string SaveOrderListInterFace(LmSystemLogEntity lmSystemLogEntity)
        {
            lmSystemLogEntity.LogMessages.MsgType = MessageType.INFO;
            lmSystemLogEntity.LogMessages.Content = _nameSpaceClass + "SaveOrderOperation";
            LoggerHelper.LogWriter(lmSystemLogEntity.LogMessages);

            try
            {
                if (!LmSystemLogDA.ChkOrderOperationLock(lmSystemLogEntity))
                {
                    return "订单:" + lmSystemLogEntity.FogOrderID + " 被其他人锁定。请稍后重试!";
                }

                DataSet dsOrderInfo = LmSystemLogDA.GetSaveOrderOpeRemarkList(lmSystemLogEntity.FogOrderID);
                if (LmSystemLogDA.SaveOrderOpeRemarkListConfirm(lmSystemLogEntity, dsOrderInfo) != 1)
                {
                    return "订单:" + lmSystemLogEntity.FogOrderID + " 信息不存在。请确认!";
                }

                //string strMsg = OrderInfoSA.SaveOrderOperationList(lmSystemLogEntity);
                string strMsg = OrderInfoSA.SynOrderOperationList(lmSystemLogEntity);
                if (!String.IsNullOrEmpty(strMsg))
                {
                    return strMsg;// "订单:" + lmSystemLogEntity.FogOrderID + " " + strMsg;
                }

                OrderInfoSA.SaveOrderConfirmPlanMail(lmSystemLogEntity, dsOrderInfo);
                return "";
            }
            catch (Exception ex)
            {
                lmSystemLogEntity.LogMessages.MsgType = MessageType.ERROR;
                lmSystemLogEntity.LogMessages.Content = _nameSpaceClass + "SaveOrderOperation  Error: " + ex.Message;
                LoggerHelper.LogWriter(lmSystemLogEntity.LogMessages);
                throw ex;
            }
        }
开发者ID:WuziyiaoKingIris20140501,项目名称:KFC,代码行数:37,代码来源:LmSystemLogBP.cs

示例13: SaveHotelExRemark

        public static int SaveHotelExRemark(LmSystemLogEntity lmSystemLogEntity)
        {
            lmSystemLogEntity.LogMessages.MsgType = MessageType.INFO;
            lmSystemLogEntity.LogMessages.Content = _nameSpaceClass + "SaveHotelExRemark";
            LoggerHelper.LogWriter(lmSystemLogEntity.LogMessages);

            try
            {
                if (!LmSystemLogDA.ChkHotelExRemark(lmSystemLogEntity))
                {
                    return 2;
                }

                return LmSystemLogDA.SaveHotelExRemark(lmSystemLogEntity);
            }
            catch (Exception ex)
            {
                lmSystemLogEntity.LogMessages.MsgType = MessageType.ERROR;
                lmSystemLogEntity.LogMessages.Content = _nameSpaceClass + "SaveHotelExRemark  Error: " + ex.Message;
                LoggerHelper.LogWriter(lmSystemLogEntity.LogMessages);
                throw ex;
            }
        }
开发者ID:WuziyiaoKingIris20140501,项目名称:KFC,代码行数:23,代码来源:LmSystemLogBP.cs

示例14: SaveConfirmOrderList

        public static LmSystemLogEntity SaveConfirmOrderList(LmSystemLogEntity lmSystemLogEntity)
        {
            lmSystemLogEntity.LogMessages.MsgType = MessageType.INFO;
            lmSystemLogEntity.LogMessages.Content = _nameSpaceClass + "SaveConfirmOrderList";
            LoggerHelper.LogWriter(lmSystemLogEntity.LogMessages);

            try
            {
                if (!LmSystemLogDA.ChkOrderOperationLock(lmSystemLogEntity))
                {
                    lmSystemLogEntity.Result = 2;
                    lmSystemLogEntity.ErrorMSG = "保存失败。订单:" + lmSystemLogEntity.FogOrderID + "已被其他人锁定,请稍后再试!";
                    return lmSystemLogEntity;
                }

                string[] ODList = lmSystemLogEntity.OrderList.TrimEnd(',').Split(',');
                string[] ODDetail;
                string strOdStatus = string.Empty;
                LmSystemLogEntity lmEntity = new LmSystemLogEntity();
                lmEntity.LogMessages = new LogMessage();
                lmEntity.LogMessages = lmSystemLogEntity.LogMessages;
                string strResult = string.Empty;
                string allMSG = string.Empty;
                int iCount = ODList.Length;
                foreach (string tempOD in ODList)
                {
                    strResult = "";
                    ODDetail = tempOD.Split('_');
                    lmEntity.FogOrderID = ODDetail[0].Trim();
                    if (!LmSystemLogDA.ChkOrderOperationLock(lmEntity))
                    {
                        lmSystemLogEntity.ErrorMSG += lmEntity.FogOrderID + ",";
                        iCount = iCount - 1;
                        continue;
                    }

                    if (!"2".Equals(ODDetail[1].Trim()))
                    {
                        lmEntity.OrderBookStatus = ("1".Equals(ODDetail[1].Trim())) ? "6" : "7";//CC确认  CC取消
                        lmEntity.OrderBookStatusOther = ("1".Equals(ODDetail[1].Trim())) ? "4" : "9";
                        lmEntity.CanelReson = ("0".Equals(ODDetail[1].Trim())) ? ODDetail[2].Trim() : "";
                        lmEntity.BookRemark = ODDetail[3].Trim();
                        lmEntity.FollowUp = ("true".Equals(ODDetail[4].Trim())) ? "1" : "0";
                        lmEntity.ActionID = ("1".Equals(ODDetail[1].Trim())) ? ODDetail[2].Trim() : "";
                        strResult = LmSystemLogBP.SaveOrderListInterFace(lmEntity);
                        allMSG += strResult;
                        iCount = (String.IsNullOrEmpty(strResult)) ? iCount : iCount - 1;
                    }

                    if (String.IsNullOrEmpty(strResult.Trim()))
                    {
                        if ("1".Equals(ODDetail[1].Trim()))
                        {
                            strOdStatus = "可入住";
                        }
                        else if ("0".Equals(ODDetail[1].Trim()))
                        {
                            strOdStatus = "CC取消";
                        }
                        else if ("2".Equals(ODDetail[1].Trim()))
                        {
                            strOdStatus = "备注";
                        }

                        OrderInfoEntity _orderInfoEntity = new OrderInfoEntity();
                        _orderInfoEntity.LogMessages = new HotelVp.Common.Logger.LogMessage();
                        _orderInfoEntity.LogMessages = lmSystemLogEntity.LogMessages;
                        _orderInfoEntity.OrderInfoDBEntity = new List<OrderInfoDBEntity>();
                        OrderInfoDBEntity orderinfoEntity = new OrderInfoDBEntity();
                        orderinfoEntity.EventType = "订单确认";
                        orderinfoEntity.ORDER_NUM = ODDetail[0].Trim();
                        orderinfoEntity.OdStatus = strOdStatus;
                        orderinfoEntity.REMARK = (!"2".Equals(ODDetail[1].Trim())) ? ODDetail[3].Trim() : ODDetail[2].Trim();
                        orderinfoEntity.ActionID = ("1".Equals(ODDetail[1].Trim())) ? ODDetail[2].Trim() : "";
                        orderinfoEntity.CANNEL = ("0".Equals(ODDetail[1].Trim())) ? ODDetail[2].Trim() : "";
                        _orderInfoEntity.OrderInfoDBEntity.Add(orderinfoEntity);
                        CommonBP.InsertOrderActionHistoryList(_orderInfoEntity);
                    }
                }

                if (!String.IsNullOrEmpty(lmSystemLogEntity.ErrorMSG) || !String.IsNullOrEmpty(allMSG.Trim()))
                {
                    lmSystemLogEntity.Result = 3;
                    lmSystemLogEntity.ErrorMSG = ((iCount > 0) ? "其他订单保存成功。" : "保存失败。") + allMSG.Trim() + ((!String.IsNullOrEmpty(lmSystemLogEntity.ErrorMSG)) ? ("订单:" + lmSystemLogEntity.ErrorMSG.TrimEnd(',') + " 被其他人锁定,请稍后再试!") : "");
                }
                else
                {
                    lmSystemLogEntity.Result = 1;
                }
                return lmSystemLogEntity;
            }
            catch (Exception ex)
            {
                lmSystemLogEntity.LogMessages.MsgType = MessageType.ERROR;
                lmSystemLogEntity.LogMessages.Content = _nameSpaceClass + "SaveConfirmOrderList  Error: " + ex.Message + lmSystemLogEntity.OrderList;
                LoggerHelper.LogWriter(lmSystemLogEntity.LogMessages);
                throw ex;
            }
        }
开发者ID:WuziyiaoKingIris20140501,项目名称:KFC,代码行数:99,代码来源:LmSystemLogBP.cs

示例15: SaveBindReciveFax

        public static LmSystemLogEntity SaveBindReciveFax(LmSystemLogEntity lmSystemLogEntity)
        {
            lmSystemLogEntity.LogMessages.MsgType = MessageType.INFO;
            lmSystemLogEntity.LogMessages.Content = _nameSpaceClass + "SaveBindReciveFax";
            LoggerHelper.LogWriter(lmSystemLogEntity.LogMessages);

            try
            {
                if ("0".Equals(lmSystemLogEntity.SendFaxType))
                {
                    DataSet dsBarCode = LmSystemLogDA.CheckBarCode(lmSystemLogEntity);
                    if (dsBarCode.Tables.Count == 0 || dsBarCode.Tables[0].Rows.Count == 0)
                    {
                        lmSystemLogEntity.Result = 2;
                        lmSystemLogEntity.ErrorMSG = "接收传真重新绑定保存失败 - 该二维码编号不存在,请修改!";
                        return lmSystemLogEntity;
                    }
                }
                return OrderInfoSA.SaveBindReciveFax(lmSystemLogEntity);
            }
            catch (Exception ex)
            {
                lmSystemLogEntity.LogMessages.MsgType = MessageType.ERROR;
                lmSystemLogEntity.LogMessages.Content = _nameSpaceClass + "SaveBindReciveFax  Error: " + ex.Message;
                LoggerHelper.LogWriter(lmSystemLogEntity.LogMessages);
                throw ex;
            }
        }
开发者ID:WuziyiaoKingIris20140501,项目名称:KFC,代码行数:28,代码来源:LmSystemLogBP.cs


注:本文中的HotelVp.CMS.Domain.Entity.LmSystemLogEntity类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。