public string GetSys_DicTypeJson()
        {
            Sys_DicTypeBiz     DDBiz   = new Sys_DicTypeBiz();
            var                sql     = Sys_DicTypeSet.SelectAll().Where(Sys_DicTypeSet.isDeleted.Equal(0).And(Sys_DicTypeSet.isValid.Equal(1)));
            List <Sys_DicType> listAll = DDBiz.GetOwnList <Sys_DicType>(sql);

            return(JsonHelper.ToJson(listAll, true));
        }
        public string GetSys_DicTypeDataGrid()
        {
            Sys_DicTypeBiz              DDBiz   = new Sys_DicTypeBiz();
            var                         sql     = Sys_DicTypeSet.SelectAll().Where(Sys_DicTypeSet.isDeleted.Equal(0).And(Sys_DicTypeSet.isValid.Equal(1)));
            List <Sys_DicType>          listAll = DDBiz.GetOwnList <Sys_DicType>(sql);
            Dictionary <string, object> dic     = new Dictionary <string, object>();

            // var mql = RMS_RoleSet.ControlId.NotEqual("");
            dic.Add("rows", listAll);
            dic.Add("total", listAll.Count);

            return(JsonHelper.ToJson(dic, true));
        }