|
|
|
@ -1817,8 +1817,6 @@ namespace Myshipping.Application
|
|
|
|
|
throw Oops.Bah("当前模板未设置");
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
//单元格样式
|
|
|
|
|
var cellStyle = NpoiExcelExportHelper._.CreateStyle(excelwork, HorizontalAlignment.Center, VerticalAlignment.Center, 10, true, 0);
|
|
|
|
|
for (int _row = 0; _row < entity.Max(x => x.Row); _row++)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
@ -1837,7 +1835,8 @@ namespace Myshipping.Application
|
|
|
|
|
if (name == _name)
|
|
|
|
|
{
|
|
|
|
|
var value = descriptor.GetValue(order).ToString();
|
|
|
|
|
var cell = NpoiExcelExportHelper._.CreateCells(row, cellStyle, _cellNum, value);
|
|
|
|
|
var cell = NpoiExcelExportHelper._.CreateCells(row, _cellNum, value);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|