public DataTable GetTimeInterval() { if (dal == null) { dal = new HisPathCheckDal(); } return(dal.GetTimeInterval()); }
/// <summary> /// 删除HisPathCheckDal /// </summary> /// <param name="id">记录Id</param> /// <returns>此次操作影响的行数</returns> public int DeleteHisPathCheck(int id) { if (dal == null) { dal = new HisPathCheckDal(); } int result = dal.DeleteHisPathCheck(id); return(result); }
/// <summary> /// 更新HisPathCheckDal /// </summary> /// <param name="model">HisPathCheckModel</param> /// <returns>返回执行结果行数</returns> public int UpdateHisPathCheck(HisPathCheckModel model) { if (dal == null) { dal = new HisPathCheckDal(); } int result = dal.UpdateHisPathCheck(model); return(result); }
public DataTable SelectEmpPassInfo(int EmpID, DateTime beginTime) { if (dal == null) { dal = new HisPathCheckDal(); } DataTable dt = dal.SelectEmpPassInfo(EmpID, beginTime); return(dt); }
public DataTable SelectHisPathCheckInterval(int interval) { if (dal == null) { dal = new HisPathCheckDal(); } DataTable dt = dal.SelectHisPathCheckByInterval(interval); return(dt); }
/// <summary> /// 查询HisPathCheckDal /// </summary> /// <param name="strCondition">查询条件</param> /// <returns>返回的记录表信息</returns> public DataTable SelectHisPathCheckByPath(string pathNo) { if (dal == null) { dal = new HisPathCheckDal(); } DataTable dt = dal.SelectHisPathCheckByPath(pathNo); return(dt); }