/// <summary>
        /// 门诊联网预结算
        /// </summary>
        /// <returns></returns>
        public void OutNetworkPreSettle(OutPayParameter para)
        {
            outReimPara = para;
            //outReimPara.CommPara.NetworkPatClassId;
            //判断费用限额
            string reStr = handelModel.MZfysh(outReimPara.RegInfo.IdNo, outReimPara.CommPara.NetworkPatClassId, outReimPara.CommPara.TradeId.ToString());

            if (reStr != "1")
            {
                throw new Exception(reStr);
            }
        }
Exemple #2
0
        public void OutNetworkPreSettle(OutPayParameter para)
        {
            outReimPara = para;

            string  strSql = "";
            DataSet ds     = new DataSet();

            strSql = "SELECT id FROM REPORT.dbo.yb_MzXlb WHERE NETWORKING_PAT_CLASS_ID='" + outReimPara.CommPara.NetworkPatClassId + "'" +
                     " UNION ALL " +
                     "SELECT id FROM REPORT.dbo.yb_MzXeb WHERE NETWORKING_PAT_CLASS_ID='" + outReimPara.CommPara.NetworkPatClassId + "'";
            ds = sqlHelper.ExecSqlReDs(strSql);
            if (ds.Tables[0].Rows.Count > 0)
            {
                InterfaceInit();
                //outReimPara.CommPara.NetworkPatClassId;
                //判断费用限额
                string reStr = handelModel.MZfysh(outReimPara.RegInfo.IdNo, outReimPara.CommPara.NetworkPatClassId, outReimPara.CommPara.TradeId.ToString());
                if (reStr != "1")
                {
                    throw new Exception(reStr);
                }
            }
        }