Commit 96b8306c by lizefeng

周转表分段导出

parent c16e40e0
...@@ -14,7 +14,7 @@ namespace AutoTurnOver.Common ...@@ -14,7 +14,7 @@ namespace AutoTurnOver.Common
/// </summary> /// </summary>
/// <param name="dt">提供保存数据的DataTable</param> /// <param name="dt">提供保存数据的DataTable</param>
/// <param name="fileName">CSV的文件路径</param> /// <param name="fileName">CSV的文件路径</param>
public static void SaveCSV(DataTable dt, string fileName, bool existsPush) public static void SaveCSV(DataTable dt, string fileName, bool existsPush = false)
{ {
// 是否追加 // 是否追加
if (!Directory.Exists(Path.GetDirectoryName(fileName))) if (!Directory.Exists(Path.GetDirectoryName(fileName)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment