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
@@ -41,7 +41,7 @@ namespace BLL
/// <param name="welder"></param>
public static void UpdateChecker(Model.SitePerson_Person checker)
{
Model.SitePerson_Person newChecker = Funs.DB.SitePerson_Person.FirstOrDefault(e => e.PersonId == checker.PersonId);
Model.SitePerson_Person newChecker = Funs.DB.SitePerson_Person.FirstOrDefault(e => e.PersonId == checker.PersonId && e.ProjectId == checker.ProjectId);
if (newChecker != null)
{
newChecker.PersonId = checker.PersonId;