/// <summary>
        /// 分页获取数据列表
        /// </summary>
        public IEnumerable <QRCodeManageModel> GetListByPage(string strWhere, string orderby, int startIndex, int endIndex)
        {
            Func <SqlConnection, IEnumerable <QRCodeManageModel> > action = (connection) => QRCodeManageDAL.GetListByPage(connection, strWhere, orderby, startIndex, endIndex);

            return(dbManager.Execute(action));
        }
        /// <summary>
        /// 检查是否存在TraceId
        /// </summary>
        /// <param name="traceId"></param>
        /// <returns></returns>
        public bool CheckedTraceId(int traceId, int?id)
        {
            Func <SqlConnection, bool> action = (connection) => QRCodeManageDAL.CheckedTraceId(connection, traceId, id);

            return(dbManager.Execute(action));
        }
        /// <summary>
        /// 删除一条数据
        /// </summary>
        public bool Delete(int Id)
        {
            Func <SqlConnection, bool> action = (connection) => QRCodeManageDAL.Delete(connection, Id);

            return(dbManager.Execute(action));
        }
        /// <summary>
        /// 根据ID获取实体
        /// </summary>
        public QRCodeManageModel GetModel(int Id)
        {
            Func <SqlConnection, QRCodeManageModel> action = (connection) => QRCodeManageDAL.GetModel(connection, Id);

            return(dbManager.Execute(action));
        }
        /// <summary>
        /// 更新一条数据
        /// </summary>
        public bool Update(QRCodeManageModel model)
        {
            Func <SqlConnection, bool> action = (connection) => QRCodeManageDAL.Update(connection, model);

            return(dbManager.Execute(action));
        }