修改施工日志

This commit is contained in:
2023-09-22 14:11:46 +08:00
83 changed files with 2492 additions and 1180 deletions
+15
View File
@@ -167,5 +167,20 @@ namespace BLL
}
return name;
}
public static string GetTeamGroupNameByPersonId(string projectId, string personId)
{
string name = string.Empty;
var getSitePerson = Funs.DB.SitePerson_Person.FirstOrDefault(x => x.ProjectId == projectId && x.PersonId == personId);
if (getSitePerson != null)
{
var TeamGroup = Funs.DB.ProjectData_TeamGroup.FirstOrDefault(x => x.TeamGroupId == getSitePerson.TeamGroupId);
if (TeamGroup != null)
{
name = TeamGroup.TeamGroupName;
}
}
return name;
}
}
}