コード例 #1
0
 /// <summary>
 /// 根据ID获取人员请假信息供查看或修改
 /// </summary>
 /// <param name="ID">人员请假ID</param>
 /// <returns>DataTable</returns>
 public static DataTable GetAttendanceApplyByID(string ID, string LeaveType)
 {
     try
     {
         return(AttendanceApplyDBHelper.GetAttendanceApplyByID(ID, LeaveType));
     }
     catch (System.Exception ex)
     {
         throw ex;
     }
 }
コード例 #2
0
 /// <summary>
 /// 查询请假列表
 /// </summary>
 /// <returns>DataTable</returns>
 public static DataTable GetAttendanceApplyInfo(string JoinUser, string ApplyDate, string LeaveType, string ApplyStatus, string Flag, string CompanyID, int pageIndex, int pageCount, string ord, ref int TotalCount)
 {
     try
     {
         return(AttendanceApplyDBHelper.GetAttendanceApplyInfo(JoinUser, ApplyDate, LeaveType, ApplyStatus, Flag, CompanyID, pageIndex, pageCount, ord, ref TotalCount));
     }
     catch (System.Exception ex)
     {
         throw ex;
     }
 }
コード例 #3
0
 /// <summary>
 /// 查询考勤统计详细报表
 /// </summary>
 /// <returns>DataTable</returns>
 public static DataTable GetAttendanceDetailReportInfo(string EmpID, string StartDate, string EndDate, string CompanyID, string AttendanceType)
 {
     try
     {
         return(AttendanceApplyDBHelper.GetAttendanceDetailReportInfo(EmpID, StartDate, EndDate, CompanyID, AttendanceType));
     }
     catch (System.Exception ex)
     {
         throw ex;
     }
 }
コード例 #4
0
 /// <summary>
 /// 查询考勤统计报表
 /// </summary>
 /// <returns>DataTable</returns>
 public static DataTable GetAttendanceMonthReportInfo(string StartDate, string EndDate, string CompanyID)
 {
     try
     {
         return(AttendanceApplyDBHelper.GetAttendanceMonthReportInfo(StartDate, EndDate, CompanyID));
     }
     catch (System.Exception ex)
     {
         throw ex;
     }
 }
コード例 #5
0
 /// <summary>
 /// 查询考勤统计报表根据页面传入的ReportNo
 /// </summary>
 /// <returns>DataTable</returns>
 public static DataTable GetAttendanceReportInfoByNo(string ReportNo, string CompanyID)
 {
     try
     {
         return(AttendanceApplyDBHelper.GetAttendanceReportInfoByNo(ReportNo, CompanyID));
     }
     catch (System.Exception ex)
     {
         throw ex;
     }
 }
コード例 #6
0
 /// <summary>
 /// 添加加班信息
 /// </summary>
 /// <param name="AttendanceApplyM">加班信息</param>
 /// <returns>添加是否成功 false:失败,true:成功</returns>
 public static bool InsertOverTimeData(AttendanceApplyModel AttendanceApplyM, out int RetValID)
 {
     return(AttendanceApplyDBHelper.InsertOverTimeData(AttendanceApplyM, out RetValID));
 }
コード例 #7
0
 /// <summary>
 /// 添加请假信息
 /// </summary>
 /// <param name="AttendanceApplyM">请假信息</param>
 /// <returns>添加是否成功 false:失败,true:成功</returns>
 public static bool UpdateAttendanceApplyData(AttendanceApplyModel AttendanceApplyM, string ID)
 {
     return(AttendanceApplyDBHelper.UpdateAttendanceApplyData(AttendanceApplyM, ID));
 }
コード例 #8
0
 /// <summary>
 /// 添加年休信息
 /// </summary>
 /// <param name="AttendanceApplyM">年休信息</param>
 /// <returns>添加是否成功 false:失败,true:成功</returns>
 public static bool InsertYearHolidayData(AttendanceApplyModel AttendanceApplyM, out int RetValID)
 {
     return(AttendanceApplyDBHelper.InsertYearHolidayData(AttendanceApplyM, out RetValID));
 }