Exemple #1
0
        public DataTable GetTimeInterval()
        {
            if (dal == null)
            {
                dal = new HisPathCheckDal();
            }

            return dal.GetTimeInterval();
        }
Exemple #2
0
        /// <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;
        }
Exemple #3
0
        /// <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;
        }
Exemple #4
0
        public DataTable SelectEmpPassInfo(int EmpID, DateTime beginTime)
        {
            if (dal == null)
            {
                dal = new HisPathCheckDal();
            }

            DataTable dt = dal.SelectEmpPassInfo(EmpID, beginTime);
            return dt;
        }
Exemple #5
0
        public DataTable SelectHisPathCheckInterval(int interval)
        {
            if (dal == null)
            {
                dal = new HisPathCheckDal();
            }

            DataTable dt = dal.SelectHisPathCheckByInterval(interval);
            return dt;
        }
Exemple #6
0
        /// <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;
        }