/// <summary> /// 保存需要更新的考勤数据 /// </summary> /// <param name="item"></param> /// <returns></returns> private PM_EM_TS_EMPLOYEE saveEmpAttData(CV_PM_EM_RECATTANDENCE item) { PM_EM_TS_EMPLOYEE tsEmployeeModel = new PM_EM_TS_EMPLOYEE(); //上班出勤-赋值 tsEmployeeModel.StartTime = item.StartTime; tsEmployeeModel.EndTime = item.EndTime; tsEmployeeModel.StartNote = item.StartNote; tsEmployeeModel.AttendanceRestTime = item.AttendanceRestTime; tsEmployeeModel.Shift = item.Shift; //加班出勤-赋值 tsEmployeeModel.WorkoverStartTime = item.WorkoverStartTime; tsEmployeeModel.WorkoverEndTime = item.WorkoverEndTime; tsEmployeeModel.WorkoverType = item.WorkoverType; tsEmployeeModel.WorkoverRestTime = item.WorkoverRestTime; tsEmployeeModel.WorkoverNote = item.WorkoverNote; //请假工时-赋值 tsEmployeeModel.LeaveTime = item.LeaveTime; tsEmployeeModel.LeaveType = item.LeaveType; tsEmployeeModel.LeaveNote = item.LeaveNote; //调休工时-赋值 tsEmployeeModel.ShiftLeaveTime = item.ShiftLeaveTime; tsEmployeeModel.ShiftLeaveType = item.ShiftLeaveType; tsEmployeeModel.ShiftLeaveNote = item.ShiftLeaveNote; //迟到工时-赋值 tsEmployeeModel.ToBeLateTime = item.ToBeLateTime; tsEmployeeModel.ToBeLateType = item.ToBeLateType; tsEmployeeModel.ToBeLateNote = item.ToBeLateNote; //旷工工时-赋值 tsEmployeeModel.AbsenteeismTime = item.AbsenteeismTime; tsEmployeeModel.AbsenteeismType = item.AbsenteeismType; tsEmployeeModel.AbsenteeismNote = item.AbsenteeismNote; tsEmployeeModel.CreatedOn = SSGlobalConfig.Now; return(tsEmployeeModel); }
public IList <CV_PM_EM_RECATTANDENCE> EmployeeAttendanceRecord(CV_PM_EM_RECATTANDENCE param) { IList <CV_PM_EM_RECATTANDENCE> list = pm_Em_RecAttenBO.GetEntities(param); return(list); }