예제 #1
0
        public void MZ_UpdateRegisterDllNew(int registerId, string serialNO)
        {
            dicStr.Clear();
            dicStr.Add(InputType.RegisterId, registerId);
            dicStr.Add(InputType.SerialNO, serialNO);
            ResultClass resultClass = MIInterFaceFactory.MZ_UpdateRegister(input);

            if (resultClass.bSucess)
            {
                MessageBoxShowError("完成!" + resultClass.sRemarks);
            }
            else
            {
                MessageBoxShowError("异常!" + resultClass.sRemarks);
            }
        }
예제 #2
0
        /// <summary>
        /// 挂号完成后回写门诊就诊号
        /// </summary>
        /// <param name="regisgetID">医保预结算ID</param>
        /// <param name="serialNO">门诊就诊号</param>
        /// <param name="invoiceNo">票据号</param>
        public static void MiRegisterComplete(int regisgetID, string serialNO, string invoiceNo)
        {
            InputClass input = new InputClass();
            Dictionary <InputType, object> dicStr = new Dictionary <InputType, object>();

            dicStr.Add(InputType.RegisterId, regisgetID);
            dicStr.Add(InputType.SerialNO, serialNO);
            dicStr.Add(InputType.InvoiceNo, invoiceNo);
            input.SInput = dicStr;
            ResultClass resultClass = MIInterFaceFactory.MZ_UpdateRegister(input);

            if (resultClass.bSucess)
            {
                MessageBox.Show("医保卡余额" + resultClass.sRemarks);
            }
            else
            {
                throw new Exception("异常!" + resultClass.sRemarks);
            }
        }