0326-001-gaofei
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user