20250627
This commit is contained in:
parent
3fa01b6206
commit
df66193a9d
|
@ -280,12 +280,21 @@ namespace FineUIPro.Web.ContinuousPrint
|
|||
var tb = SQLHelper.GetDataTableRunProc("HJGL_rpt_PipelineAttach", parameter);
|
||||
|
||||
string IsoNo = string.Empty;
|
||||
string projectName = string.Empty;
|
||||
if (!string.IsNullOrEmpty(hidISO_ID.Value))
|
||||
{
|
||||
var isoInfo = BLL.HJGL_PW_IsoInfoService.GetIsoInfoByIsoInfoId(this.Grid2.SelectedRowID);
|
||||
if (isoInfo!=null)
|
||||
if (isoInfo != null)
|
||||
{
|
||||
IsoNo = isoInfo.ISO_IsoNo;
|
||||
if (!string.IsNullOrEmpty(isoInfo.ProjectId))
|
||||
{
|
||||
var project = BLL.Base_ProjectService.GetProjectByProjectId(isoInfo.ProjectId);
|
||||
if (project != null)
|
||||
{
|
||||
projectName = project.ProjectName;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -539,7 +548,7 @@ namespace FineUIPro.Web.ContinuousPrint
|
|||
{
|
||||
ws.GetRow(dataRow).GetCell(1).SetCellValue("工程名称");
|
||||
ws.GetRow(dataRow).GetCell(1).CellStyle = titleStyle;
|
||||
ws.GetRow(dataRow).GetCell(3).SetCellValue(BLL.Base_ProjectService.GetProjectByProjectId(this.CurrUser.LoginProjectId).ProjectName);
|
||||
ws.GetRow(dataRow).GetCell(3).SetCellValue(projectName);
|
||||
ws.GetRow(dataRow).GetCell(3).CellStyle = titleStyle;
|
||||
}
|
||||
else if (r == 25)
|
||||
|
|
Loading…
Reference in New Issue