提交代码
This commit is contained in:
parent
95c7eaedd4
commit
ba39a78d6e
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -72,6 +72,20 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
/// 管线主键
|
||||||
|
/// </summary>
|
||||||
|
public string ISO_ID
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return (string)ViewState["ISO_ID"];
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
ViewState["ISO_ID"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
/// 焊口主键
|
/// 焊口主键
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string JOT_ID
|
public string JOT_ID
|
||||||
|
@ -131,6 +145,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||||
Model.HJGL_PW_JointInfo joint = BLL.HJGL_PW_JointInfoService.GetJointInfoByJotID(record.JOT_ID);
|
Model.HJGL_PW_JointInfo joint = BLL.HJGL_PW_JointInfoService.GetJointInfoByJotID(record.JOT_ID);
|
||||||
BatchId = record.BatchId;
|
BatchId = record.BatchId;
|
||||||
ProjectId = record.ProjectId;
|
ProjectId = record.ProjectId;
|
||||||
|
ISO_ID = joint.ISO_ID;
|
||||||
WelderId = joint.JOT_CellWelder;
|
WelderId = joint.JOT_CellWelder;
|
||||||
WelderId2= joint.JOT_FloorWelder;
|
WelderId2= joint.JOT_FloorWelder;
|
||||||
NDT_ID = record.NDT_ID;
|
NDT_ID = record.NDT_ID;
|
||||||
|
@ -173,10 +188,10 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||||
+ @" LEFT JOIN HJGL_BS_Welder AS Welder1 ON Welder1.WED_ID = JointInfo.JOT_CellWelder"
|
+ @" LEFT JOIN HJGL_BS_Welder AS Welder1 ON Welder1.WED_ID = JointInfo.JOT_CellWelder"
|
||||||
+ @" LEFT JOIN HJGL_BS_Welder AS Welder2 ON Welder2.WED_ID = JointInfo.JOT_FloorWelder"
|
+ @" LEFT JOIN HJGL_BS_Welder AS Welder2 ON Welder2.WED_ID = JointInfo.JOT_FloorWelder"
|
||||||
+ @" LEFT JOIN HJGL_BO_WeldReportMain AS WeldReportMain on WeldReportMain.DReportID=JointInfo.DReportID"
|
+ @" LEFT JOIN HJGL_BO_WeldReportMain AS WeldReportMain on WeldReportMain.DReportID=JointInfo.DReportID"
|
||||||
+ @" WHERE JointInfo.ProjectId=@ProjectId and JointInfo.JOT_CellWelder=@WelderId and JointInfo.JOT_FloorWelder=@WelderId2 and BatchDetail.JOT_ID<>@JOT_ID and (BatchDetail.PointType is null or BatchDetail.PointType= '2')";
|
+ @" WHERE JointInfo.ProjectId=@ProjectId and JointInfo.ISO_ID=@ISO_ID and JointInfo.JOT_CellWelder=@WelderId and JointInfo.JOT_FloorWelder=@WelderId2 and BatchDetail.JOT_ID<>@JOT_ID and (BatchDetail.PointType is null or BatchDetail.PointType= '2')";
|
||||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||||
listStr.Add(new SqlParameter("@ProjectId", this.ProjectId));
|
listStr.Add(new SqlParameter("@ProjectId", this.ProjectId));
|
||||||
//listStr.Add(new SqlParameter("@BatchId", this.BatchId));
|
listStr.Add(new SqlParameter("@ISO_ID", this.ISO_ID));
|
||||||
listStr.Add(new SqlParameter("@WelderId", this.WelderId ?? ""));
|
listStr.Add(new SqlParameter("@WelderId", this.WelderId ?? ""));
|
||||||
listStr.Add(new SqlParameter("@WelderId2", this.WelderId2 ?? ""));
|
listStr.Add(new SqlParameter("@WelderId2", this.WelderId2 ?? ""));
|
||||||
listStr.Add(new SqlParameter("@JOT_ID", this.JOT_ID));
|
listStr.Add(new SqlParameter("@JOT_ID", this.JOT_ID));
|
||||||
|
|
Loading…
Reference in New Issue