Commit c6e59c8e by lizefeng

优化库存导出

parent 163929af
...@@ -174,15 +174,13 @@ namespace AutoTurnOver.Services ...@@ -174,15 +174,13 @@ namespace AutoTurnOver.Services
stream.CopyTo(memory); stream.CopyTo(memory);
} }
memory.Position = 0; memory.Position = 0;
export_count--;
return memory; return memory;
} }
catch (Exception) catch (Exception)
{ {
throw;
}
finally
{
export_count--; export_count--;
throw;
} }
} }
......
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