修复会读取Excel临时文件的问题
This commit is contained in:
@@ -55,6 +55,8 @@ namespace ExcelTool
|
|||||||
//读取
|
//读取
|
||||||
foreach (var file in excels)
|
foreach (var file in excels)
|
||||||
{
|
{
|
||||||
|
if (file.Name.StartsWith("~$")) return;
|
||||||
|
|
||||||
//生成CS文件
|
//生成CS文件
|
||||||
bool res = GenModels.GenCSharpModel(file.FullName, exportPath);
|
bool res = GenModels.GenCSharpModel(file.FullName, exportPath);
|
||||||
if (res)
|
if (res)
|
||||||
|
|||||||
Reference in New Issue
Block a user