示例#1
0
        /// <summary>
        /// 获取Config_ExcelInfo的某配置项的脚本
        /// </summary>
        public void GetExcelConfigScript()
        {
            string script = SqlScript.GetExcelConfigScript(GetID);
            bool   result = !string.IsNullOrEmpty(script);

            if (result)
            {
                WebHelper.SendFile("sys_Excel配置_" + KeyValueConfig.GetTableDescription(ObjName, TableName) + ".sql", script);
            }
            else
            {
                jsonResult = JsonHelper.OutResult(result, script);
            }
        }