提交代码

This commit is contained in:
2023-11-26 18:46:42 +08:00
parent 560f6d8b7b
commit a543e35f45
@@ -475,7 +475,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
} }
if (!string.IsNullOrEmpty(tvControlItem.SelectedNodeID)) if (!string.IsNullOrEmpty(tvControlItem.SelectedNodeID))
{ {
var jotList = from x in Funs.DB.HJGL_WeldJoint where x.PipelineId == tvControlItem.SelectedNodeID && x.WPQId == null select x; var jotList = from x in Funs.DB.HJGL_WeldJoint where x.PipelineId == tvControlItem.SelectedNodeID && x.WPQId == null && x.IsTwoJoint == true select x;
if (jotList.Count() > 0) if (jotList.Count() > 0)
{ {
foreach (var jot in jotList) foreach (var jot in jotList)
@@ -504,7 +504,6 @@ namespace FineUIPro.Web.HJGL.WeldingManage
newJot.PreTemperature = wps.PreTemperature; newJot.PreTemperature = wps.PreTemperature;
newJot.IsHotProess = wps.IsHotProess; newJot.IsHotProess = wps.IsHotProess;
newJot.MatchableWPQ = string.Join(",", wpqList.Select(x => x.WPQCode)); newJot.MatchableWPQ = string.Join(",", wpqList.Select(x => x.WPQCode));
newJot.IsTwoJoint = true;
BLL.WeldJointService.UpdateConWeldJoint(newJot); BLL.WeldJointService.UpdateConWeldJoint(newJot);
} }
} }