提交施工日志修改

This commit is contained in:
2023-10-11 10:19:12 +08:00
parent b574fe7220
commit 9a73b66ee1
15 changed files with 681 additions and 19 deletions
@@ -633,7 +633,7 @@ namespace BLL
/// <returns></returns>
public static Model.SitePerson_Person getSitePerson_PersonByRoleId(string projectId, string roleId)
{
return Funs.DB.SitePerson_Person.FirstOrDefault(x => x.ProjectId == projectId && x.RoleIds.Contains(roleId));
return Funs.DB.SitePerson_Person.FirstOrDefault(x => x.ProjectId == projectId && x.RoleIds.Contains(roleId) && x.States == Const.ProjectPersonStates_1);
}
/// <summary>