|
@ -115,7 +115,7 @@ namespace WY.NewJit.MsgBaseData |
|
|
byte[] byteArr = await exporter.ExportAsByteArray<MaterialExtDto>(items); |
|
|
byte[] byteArr = await exporter.ExportAsByteArray<MaterialExtDto>(items); |
|
|
byteArr.ShouldNotBeNull(); |
|
|
byteArr.ShouldNotBeNull(); |
|
|
//将excel文件流保存到服务器端文件系统
|
|
|
//将excel文件流保存到服务器端文件系统
|
|
|
string fileName = string.Format("SAP物料信息_{0}.xlsx", Guid.NewGuid().ToString()); |
|
|
string fileName = string.Format("物料信息_{0}.xlsx", Guid.NewGuid().ToString()); |
|
|
await _blobContainer.SaveAsync(fileName, byteArr); |
|
|
await _blobContainer.SaveAsync(fileName, byteArr); |
|
|
|
|
|
|
|
|
ret.Item = fileName; |
|
|
ret.Item = fileName; |
|
|