This commit is contained in:
2026-07-26 17:52:46 +08:00
parent 7fb6b255d2
commit 4bd992b0a6
13 changed files with 202 additions and 64 deletions
@@ -278,10 +278,10 @@ namespace BLL
{
throw new ArgumentException("焊口ID不能为空。");
}
if (string.IsNullOrEmpty(item.GrooveTypeId))
/* if (string.IsNullOrEmpty(item.GrooveTypeId))
{
throw new ArgumentException("坡口类型不能为空。");
}
}*/
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
{
@@ -290,10 +290,10 @@ namespace BLL
{
throw new ArgumentException("未找到对应焊口。");
}
if (!db.Base_GrooveType.Any(x => x.GrooveTypeId == item.GrooveTypeId))
/* if (!db.Base_GrooveType.Any(x => x.GrooveTypeId == item.GrooveTypeId))
{
throw new ArgumentException("坡口类型不存在。");
}
}*/
var check = string.IsNullOrEmpty(item.FitupCheckId)
? null
@@ -310,7 +310,7 @@ namespace BLL
check.ProjectId = string.IsNullOrEmpty(item.ProjectId) ? weldJoint.ProjectId : item.ProjectId;
check.WeldJointId = item.WeldJointId;
check.GrooveTypeId = item.GrooveTypeId;
//check.GrooveTypeId = item.GrooveTypeId;
check.GrooveProcessType = item.GrooveProcessType;
check.GrooveAngle = item.GrooveAngle;
check.FitupGap = item.FitupGap;
@@ -328,7 +328,7 @@ namespace BLL
check.Remark = item.Remark;
// 组对检查需要同步回写焊口主表,保证焊口基础信息保持最新
weldJoint.GrooveTypeId = item.GrooveTypeId;
// weldJoint.GrooveTypeId = item.GrooveTypeId;
weldJoint.GrooveProcessType = item.GrooveProcessType;
weldJoint.GrooveAngle = item.GrooveAngle;
weldJoint.FitupGap = item.FitupGap;