コード例 #1
0
        public decimal GeneratePostRecord(string postID, string year, string month)
        {
            decimal                  result  = 0;
            EmployeePostBLL          bll     = new EmployeePostBLL();
            List <T_HR_EMPLOYEEPOST> emplist = bll.GetEmployeePostByPostID(postID);

            foreach (var emp in emplist)
            {
                result += GenerateEmployeeRecord(emp.T_HR_EMPLOYEE.EMPLOYEEID, year, month);
            }
            return(result);
        }
コード例 #2
0
        public void GeneratePostSalary(string postID, string year, string month)
        {
            EmployeePostBLL         bll    = new EmployeePostBLL();
            EmployeeSalaryRecordBLL bllemp = new EmployeeSalaryRecordBLL();
            List <SMT_HRM_EFModel.T_HR_EMPLOYEEPOST> emplist = bll.GetEmployeePostByPostID(postID);

            foreach (var emp in emplist)
            {
                employes.Add(bllemp.GetEmployeeInfor(emp.T_HR_EMPLOYEE.EMPLOYEEID));
                employeIDs.Add(emp.T_HR_EMPLOYEE.EMPLOYEEID);
            }
        }
コード例 #3
0
ファイル: PersonnelService.cs プロジェクト: JuRogn/OA
 public List<T_HR_EMPLOYEEPOST> GetEmployeePostByPostID(string postID)
 {
     using (EmployeePostBLL bll = new EmployeePostBLL())
     {
         return bll.GetEmployeePostByPostID(postID);
     }
 }