提交代码

This commit is contained in:
2023-12-01 12:11:50 +08:00
parent 66a8cb638a
commit 23c2b9fedd
8 changed files with 75 additions and 29 deletions
@@ -1111,20 +1111,20 @@ namespace FineUIPro.Web.HJGL.WeldingManage
}
if (delJoints.Count() > 0)
{
//try
//{
// db2.HJGL_WeldJoint.DeleteAllOnSubmit(delJoints);
// db2.SubmitChanges();
//}
//catch (Exception)
//{
try
{
db2.HJGL_WeldJoint.DeleteAllOnSubmit(delJoints);
db2.SubmitChanges();
}
catch (Exception)
{
string weldJointCodes = string.Empty;
foreach (var item in delJoints)
{
weldJointCodes += item.WeldJointCode + ",";
}
Alert.ShowInParent(weldJointCodes, MessageBoxIcon.Warning);
//}
}
}
}