2022-11-18 焊接基础数据导入增加dn公称直径
This commit is contained in:
@@ -78,6 +78,7 @@ namespace BLL
|
||||
Material2Id = weldJoint.Material2Id,
|
||||
Thickness = weldJoint.Thickness,
|
||||
Dia = weldJoint.Dia,
|
||||
DNDia=weldJoint.DNDia,
|
||||
Size = weldJoint.Size,
|
||||
DetectionTypeId = weldJoint.DetectionTypeId,
|
||||
JointArea = weldJoint.JointArea,
|
||||
@@ -107,6 +108,13 @@ namespace BLL
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
public static void AddBulkWeldJoint(List<Model.HJGL_WeldJoint> weldJoints)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
db.HJGL_WeldJoint.InsertAllOnSubmit(weldJoints);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 修改
|
||||
/// </summary>
|
||||
@@ -126,6 +134,7 @@ namespace BLL
|
||||
newWeldJoint.Material2Id = weldJoint.Material2Id;
|
||||
newWeldJoint.Thickness = weldJoint.Thickness;
|
||||
newWeldJoint.Dia = weldJoint.Dia;
|
||||
newWeldJoint.DNDia = weldJoint.DNDia;
|
||||
newWeldJoint.Size = weldJoint.Size;
|
||||
newWeldJoint.DetectionTypeId = weldJoint.DetectionTypeId;
|
||||
newWeldJoint.JointArea = weldJoint.JointArea;
|
||||
|
||||
Reference in New Issue
Block a user