修改焊工合格项目视图及质量人员管理接口

This commit is contained in:
2022-09-15 16:35:23 +08:00
parent 2914b96cd6
commit 514deb15aa
6 changed files with 707 additions and 1 deletions
@@ -1142,5 +1142,23 @@ namespace BLL
}
}
#endregion
#region
public static string AuditWelder(string projectId, string personId)
{
string str = string.Empty;
using (var db = new Model.SGGLDB(Funs.ConnString))
{
Model.SitePerson_Person x = db.SitePerson_Person.FirstOrDefault(e => e.ProjectId == projectId && e.PersonId == personId);
if (x != null)
{
x.IsWeldAudit = true;
db.SubmitChanges();
str = "审核成功";
}
}
return str;
}
#endregion
}
}