Beispiel #1
0
        /// <summary>
        /// 根据病人ID获得病人的费用明细
        /// </summary>
        /// <param name="id"></param>
        /// <param name="IsConfird"></param>
        /// <param name="deptid"></param>
        /// <param name="docid"></param>
        /// <returns></returns>
        public override DataTable FindDetails(string id, bool IsConfird, int deptid, int docid)
        {
            string strWhere = Tables.zy_patlist.CURENO + oleDb.EuqalTo() + "'" + id + "'";

            HIS.Model.ZY_PatList zypat = BindEntity <HIS.Model.ZY_PatList> .CreateInstanceDAL(oleDb).GetModel(strWhere);

            if (zypat == null)
            {
                return(null);
            }
            List <HIS.Model.ZY_PatList> plist = new List <HIS.Model.ZY_PatList>();

            plist.Add(zypat);
            return(ZyGetFee.GetZyItems(plist, IsConfird, deptid, docid));
        }
Beispiel #2
0
 /// <summary>
 /// 通过病人ID获得病人的项目明细
 /// </summary>
 /// <param name="patlistid"></param>
 /// <param name="IsConfird">false=没有确费的 true=已经确费的</param>
 /// <returns></returns>
 public override DataTable GetItemDetails(bool IsConfird, int deptid, int docid)
 {
     return(ZyGetFee.GetZyItems(zyPlist, IsConfird, deptid, docid));
 }