Beispiel #1
0
        /// <summary>
        /// 由presorderid 判断这个项目是否已确费
        /// </summary>
        /// <param name="presorderid"></param>
        /// <param name="type"></param>
        /// <returns></returns>
        public bool IsConfirmed(int presorderid, ConfirType type)
        {
            string strWhere = Tables.medical_confir.PRESORDERID + oleDb.EuqalTo() + presorderid + oleDb.And() +
                              Tables.medical_confir.MARK_FLAG + oleDb.EuqalTo() + (int)type + oleDb.And() +
                              Tables.medical_confir.CANCEL_FLAG + oleDb.EuqalTo() + 0;

            if (BindEntity <HIS.Model.Medical_Confir> .CreateInstanceDAL(oleDb).Exists(strWhere))
            {
                return(true);
            }
            return(false);
        }
Beispiel #2
0
        public static ConfirCenter GetConfirType(ConfirType Confirtype)
        {
            switch (Confirtype)
            {
            case ConfirType.门诊:
                ConfirCenter = new MzConfir(); break;

            case ConfirType.住院:
                ConfirCenter = new ZyConfir(); break;

            default: return(null);
            }
            return(ConfirCenter);
        }