Exemplo n.º 1
0
        public void GenerateDepartmentSalary(string departID, string year, string month)
        {
            PostBLL bll = new PostBLL();
            List <SMT_HRM_EFModel.T_HR_POST> emplist = bll.GetPostByDepartId(departID);

            foreach (var emp in emplist)
            {
                GeneratePostSalary(emp.POSTID, year, month);
            }
        }
Exemplo n.º 2
0
        public decimal GenerateDepartmentRecord(string departID, string year, string month)
        {
            decimal          result  = 0;
            PostBLL          bll     = new PostBLL();
            List <T_HR_POST> emplist = bll.GetPostByDepartId(departID);

            foreach (var emp in emplist)
            {
                result += GeneratePostRecord(emp.POSTID, year, month);
            }
            return(result);
        }