Esempio n. 1
0
        /// <summary>
        /// 保存ls文件
        /// </summary>
        /// <param name="filePath">文件路径</param>
        private void SaveLSFile(string filePath)
        {
            string    sqlString = string.Format("SELECT * FROM sys_script_lsfile WHERE classification = '{0}'", mapName);
            DataTable lsTable   = dataBaseManager.GetDataTable(sqlString, dataBaseManager.Connection_Jx3web);
            string    lsContent = CodeConvert.ConvertLsFileContent(lsTable.Select(string.Format("classification = '{0}'", mapName)));

            SaveDataToFile(filePath, lsContent);
        }