0326-001-gaofei

This commit is contained in:
gaofei
2022-03-26 18:07:57 +08:00
parent b46c3f0cf8
commit 39dd9da9a8
2 changed files with 21 additions and 1 deletions
@@ -213,6 +213,17 @@ namespace FineUIPro.Web.CQMS.Comprehensive
{
inspectionPerson.InspectionPersonId = this.InspectionPersonId;
BLL.InspectionPersonService.UpdateInspectionPerson(inspectionPerson);
// 焊工部分
var oldWelder = BLL.PersonManageService.GetBSWelderByProjectIdUnitIdAndWED_Code(welder.ProjectId, welder.WED_Unit, welder.WED_Code);
if (oldWelder != null)
{
welder.WED_ID = oldWelder.WED_ID;
BLL.PersonManageService.UpdateBSWelder(welder);
}
else
{
BLL.PersonManageService.AddBSWelder(welder);
}
}
ShowNotify("保存成功!", MessageBoxIcon.Success);
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());