This commit is contained in:
2022-09-05 17:20:50 +08:00
parent 74d3922232
commit c26e450d67
7 changed files with 190 additions and 7 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ namespace BLL
/// <param name="welder"></param>
public static void UpdateWelder(Model.SitePerson_Person welder)
{
Model.SitePerson_Person newWelder = Funs.DB.SitePerson_Person.FirstOrDefault(e => e.PersonId == welder.PersonId);
Model.SitePerson_Person newWelder = Funs.DB.SitePerson_Person.FirstOrDefault(e => e.PersonId == welder.PersonId && e.ProjectId == welder.ProjectId);
if (newWelder != null)
{
newWelder.WelderCode = welder.WelderCode;