예제 #1
0
        //挂号
        public bool Register(int dataindex, bool iszhuanjia)//挂号(专家)
        {
            try
            {
                if (Settings.Default.运行模式 == "RUN")
                {
                    LogService.GlobalInfoMessage("调用挂号存储过程");
                    SkyComm skyComm = new SkyComm();
                    skyComm.Register(FrmMain.cardInfoStruct.CardNo, officeID, dt.Rows[dataindex - 1]["医生编号"].ToString(), Convert.ToDecimal(dt.Rows[dataindex - 1]["挂号金额"]));
                }

                MyMsg.MsgInfo("恭喜您已挂号成功,请取走您的就诊卡!");

                #region 打印

                //Print cp = new Print();
                //cp.PrintRegister("李新华");
                #endregion
            }
            catch (Exception ex)
            {
                SkynetMessage.MsgInfo(ex.Message);
                return(false);
            }

            return(true);
        }