/// <summary>
        /// 获得数据列表
        /// </summary>
        public List <Common.Model.APP_SETTING_Model> DataTableToList(DataTable dt)
        {
            List <Common.Model.APP_SETTING_Model> modelList = new List <Common.Model.APP_SETTING_Model>();
            int rowsCount = dt.Rows.Count;

            if (rowsCount > 0)
            {
                Common.Model.APP_SETTING_Model model;
                for (int n = 0; n < rowsCount; n++)
                {
                    model            = new Common.Model.APP_SETTING_Model();
                    model.ITEM       = dt.Rows[n]["ITEM"].ToString();
                    model.VALUE      = dt.Rows[n]["VALUE"].ToString();
                    model.VOID       = dt.Rows[n]["VOID"].ToString();
                    model.REMARK     = dt.Rows[n]["REMARK"].ToString();
                    model.DEPARTMENT = dt.Rows[n]["DEPARTMENT"].ToString();
                    model.PROCESS    = dt.Rows[n]["PROCESS"].ToString();
                    if (dt.Rows[n]["UPDATED_TIME"].ToString() != "")
                    {
                        model.UPDATED_TIME = DateTime.Parse(dt.Rows[n]["UPDATED_TIME"].ToString());
                    }
                    model.UPDATED_USER = dt.Rows[n]["UPDATED_USER"].ToString();
                    model.TYPE         = dt.Rows[n]["TYPE"].ToString();
                    modelList.Add(model);
                }
            }
            return(modelList);
        }
        /// <summary>
        /// 分页获取数据列表
        /// </summary>
        //public DataSet GetList(int PageSize,int PageIndex,string strWhere)
        //{
        //return dal.GetList(PageSize,PageIndex,strWhere);
        //}

        /// <summary>
        /// 获得前几行数据
        /// </summary>
        public Common.Model.APP_SETTING_Model CopyObj(Common.Model.APP_SETTING_Model objModel)
        {
            Common.Model.APP_SETTING_Model model;
            model              = new Common.Model.APP_SETTING_Model();
            model.ITEM         = objModel.ITEM;
            model.VALUE        = objModel.VALUE;
            model.VOID         = objModel.VOID;
            model.REMARK       = objModel.REMARK;
            model.DEPARTMENT   = objModel.DEPARTMENT;
            model.PROCESS      = objModel.PROCESS;
            model.UPDATED_TIME = objModel.UPDATED_TIME;
            model.UPDATED_USER = objModel.UPDATED_USER;
            model.TYPE         = objModel.TYPE;
            return(model);
        }
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public SqlCommand UpdateCommand(Common.Model.APP_SETTING_Model model)
 {
     return(dal.UpdateCommand(model));
 }
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public bool Update(Common.Model.APP_SETTING_Model model)
 {
     return(dal.Update(model));
 }
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public SqlCommand AddCommand(Common.Model.APP_SETTING_Model model)
 {
     return(dal.AddCommand(model));
 }
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public void Add(Common.Model.APP_SETTING_Model model)
 {
     dal.Add(model);
 }