예제 #1
0
파일: Ham.cs 프로젝트: khanhlive/VSSOFT.HIS
 public static bool _checkSoPL(Hospital data, int IDdon)
 => PhieuLinhProvider.isHasSoPhieuLinh(data, IDdon);
예제 #2
0
 // khi xóa
 public static bool SetStatusSoPL(int maKP, int _soPL, int ploai, int noiNgoaiTru)
 => PhieuLinhProvider.SetStatusSoPL(maKP, _soPL, ploai, noiNgoaiTru);
예제 #3
0
 public static bool checkSoPL(int maKP, int _soPL, int ploai, int noiNgoaiTru)
 => PhieuLinhProvider.CheckSoPL(maKP, _soPL, ploai, noiNgoaiTru);
예제 #4
0
        //internal static List<DonGiaDV> _getGiaSD(Hospital data, int madv)
        //{
        //    try
        //    {
        //        double rs = 0;
        //        var qdongia = data.DonGiaDVs.Where(p => p.MaDV == madv && p.Status == true).ToList();
        //        return qdongia;
        //    }
        //    catch (Exception ex)
        //    {
        //        MessageBox.Show(ex.InnerException.ToString());
        //        return new List<DonGiaDV>();

        //    }

        //}

        #region lấy số PL
        /// <summary>
        ///
        /// </summary>
        /// <param name="ploai"></param>
        /// <param name="maKP"></param>
        /// <param name="noiNgoaiTru"></param>
        /// <returns></returns>
        public static int GetSoPL(int ploai, int maKP, int noiNgoaiTru)
        => PhieuLinhProvider.GetSoPL(ploai, maKP, noiNgoaiTru);