Правки
This commit is contained in:
parent
9ac33454fe
commit
bb579952af
@ -31,19 +31,19 @@ namespace FurnitureAssemblyBusinessLogic.OfficePackage
|
||||
|
||||
uint rowIndex = 2;
|
||||
|
||||
foreach (var mwp in info.FurnitureWorkPieces)
|
||||
foreach (var fwp in info.FurnitureWorkPieces)
|
||||
{
|
||||
InsertCellInWorksheet(new ExcelCellParameters
|
||||
{
|
||||
ColumnName = "A",
|
||||
RowIndex = rowIndex,
|
||||
Text = mwp.FurnitureName,
|
||||
Text = fwp.FurnitureName,
|
||||
StyleInfo = ExcelStyleInfoType.Text
|
||||
});
|
||||
|
||||
rowIndex++;
|
||||
|
||||
foreach (var (WorkPiece, Count) in mwp.WorkPieces)
|
||||
foreach (var (WorkPiece, Count) in fwp.WorkPieces)
|
||||
{
|
||||
InsertCellInWorksheet(new ExcelCellParameters
|
||||
{
|
||||
@ -76,7 +76,7 @@ namespace FurnitureAssemblyBusinessLogic.OfficePackage
|
||||
{
|
||||
ColumnName = "C",
|
||||
RowIndex = rowIndex,
|
||||
Text = mwp.TotalCount.ToString(),
|
||||
Text = fwp.TotalCount.ToString(),
|
||||
StyleInfo = ExcelStyleInfoType.Text
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user