|
@ -258,11 +258,11 @@ namespace Win.Sfs.SettleAccount.Entities.Prices |
|
|
switch (input.FileType) |
|
|
switch (input.FileType) |
|
|
{ |
|
|
{ |
|
|
case 0: |
|
|
case 0: |
|
|
_fileName = string.Format("标准价格单_{0}.xlsx", Guid.NewGuid().ToString()); |
|
|
_fileName = string.Format("备件标准价格单_{0}.xlsx", Guid.NewGuid().ToString()); |
|
|
result = await _csv.ExportAsByteArray(dtoDetails); |
|
|
result = await _csv.ExportAsByteArray(dtoDetails); |
|
|
break; |
|
|
break; |
|
|
case 1: |
|
|
case 1: |
|
|
_fileName = string.Format("标准价格单_{0}.xlsx", Guid.NewGuid().ToString()); |
|
|
_fileName = string.Format("备件标准价格单_{0}.xlsx", Guid.NewGuid().ToString()); |
|
|
result = await _excel.ExportAsByteArray(dtoDetails); |
|
|
result = await _excel.ExportAsByteArray(dtoDetails); |
|
|
break; |
|
|
break; |
|
|
} |
|
|
} |
|
|