移交管理,尾项管理导出支持不带图片导出
This commit is contained in:
@@ -457,8 +457,12 @@ namespace FineUIPro.Web.Transfer
|
||||
|
||||
NPOI.SS.UserModel.ISheet sheet = workbook.GetSheetAt(0);
|
||||
|
||||
var pcList = Funs.DB.AttachFile.Where(p => p.MenuId == BLL.Const.PunchlistFromMenuId && p.AttachUrl != null && p.AttachUrl != "").ToList();
|
||||
|
||||
//var pcList = Funs.DB.AttachFile.Where(p => p.MenuId == BLL.Const.PunchlistFromMenuId && p.AttachUrl != null && p.AttachUrl != "").ToList();
|
||||
var pcList = new List<Model.AttachFile>();
|
||||
if (rbOutType.SelectedValue == "1")
|
||||
{//导出带图片
|
||||
pcList = Funs.DB.AttachFile.Where(p => p.MenuId == BLL.Const.PunchlistFromMenuId && p.AttachUrl != null && p.AttachUrl != "").ToList();
|
||||
}
|
||||
int i = 2;
|
||||
foreach (DataRow tbRow in tb.Rows)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user