20260904 焊口二维码打印
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
|
||||
ALTER view [dbo].[View_PrintJointInfo]
|
||||
as
|
||||
select joint.JOT_ID,
|
||||
joint.ProjectId,
|
||||
joint.ISO_ID,
|
||||
unit.UnitName,
|
||||
installation.InstallationName,
|
||||
iso.ISO_IsoNo,
|
||||
joint.JOT_JointNo,
|
||||
joint.JOT_JointDesc,
|
||||
Steel.STE_Code,
|
||||
joint.QRCodeAttachUrl,
|
||||
welder.WED_Code,
|
||||
report.JOT_WeldDate,
|
||||
joint.IS_Proess
|
||||
from HJGL_PW_JointInfo as joint
|
||||
left join HJGL_PW_IsoInfo as iso on iso.ISO_ID = joint.ISO_ID
|
||||
left join Project_Installation as installation on installation.InstallationId = joint.InstallationId
|
||||
left join Base_Unit as unit on unit.UnitId = iso.BSU_ID
|
||||
LEFT JOIN HJGL_BS_Steel AS Steel ON Steel.STE_ID = joint.STE_ID
|
||||
left join HJGL_BS_Welder as welder on welder.WED_ID = joint.JOT_CellWelder
|
||||
left join HJGL_BO_WeldReportMain as report on report.DReportID = joint.DReportID
|
||||
GO
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1609,6 +1609,9 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
dt.Columns.Add("JOT_JointDesc");
|
||||
dt.Columns.Add("STE_Code");
|
||||
dt.Columns.Add("QRCodeAttachUrl");
|
||||
dt.Columns.Add("WED_Code");
|
||||
dt.Columns.Add("JOT_WeldDate");
|
||||
dt.Columns.Add("IS_Proess");
|
||||
|
||||
DataView dv = tb.DefaultView;//获取表视图
|
||||
dv.Sort = "JOT_JointNo ASC";//按照ID排序
|
||||
@@ -1624,6 +1627,10 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
newRow["JOT_JointDesc"] = row["JOT_JointDesc"].ToString();
|
||||
newRow["STE_Code"] = row["STE_Code"].ToString();
|
||||
newRow["QRCodeAttachUrl"] = Funs.RootPath + row["QRCodeAttachUrl"].ToString();
|
||||
newRow["WED_Code"] = row["WED_Code"].ToString();
|
||||
string wedDate = string.Format("{0:yyyy.MM.dd}", row["JOT_WeldDate"]);
|
||||
newRow["JOT_WeldDate"] = wedDate;
|
||||
newRow["IS_Proess"] = row["IS_Proess"].ToString();
|
||||
dt.Rows.Add(newRow);
|
||||
}
|
||||
BLL.Common.FastReportService.AddFastreportTable(dt);
|
||||
|
||||
Reference in New Issue
Block a user