public void MZ_ChargeDllNew(int tradeRecordId, string fph) { dicStr.Clear(); dicStr.Add(InputType.TradeRecordId, tradeRecordId); dicStr.Add(InputType.InvoiceNo, fph); ResultClass resultClass = MIInterFaceFactory.MZ_Charge(input); if (resultClass.bSucess) { decimal objects = Convert.ToDecimal(resultClass.oResult); iFrmMITest.LoadTrade(objects); } else { MessageBoxShowError("异常!" + resultClass.sRemarks); } }
/// <summary> /// 门诊正式收费 /// </summary> /// <param name="invoiceNO">票据号</param> /// <param name="budgetID">预算ID</param> /// <returns>返回收费是否成功</returns> public static bool MIBalance(string invoiceNO, int budgetID) { InputClass input = new InputClass(); Dictionary <InputType, object> dicStr = new Dictionary <InputType, object>(); dicStr.Add(InputType.InvoiceNo, invoiceNO); dicStr.Add(InputType.TradeRecordId, budgetID); input.SInput = dicStr; ResultClass resultClass = MIInterFaceFactory.MZ_Charge(input); if (resultClass.bSucess) { MessageBox.Show("医保卡余额" + resultClass.sRemarks); return(true); } else { throw new Exception("异常!" + resultClass.sRemarks); } }