示例#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);
            }
        }
示例#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);
        }