修改焊工合格项目视图及质量人员管理接口
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user