合并最新

This commit is contained in:
2022-12-20 09:32:32 +08:00
parent 844e9f1488
commit 1abdaa9476
654 changed files with 73563 additions and 9746 deletions
+6 -1
View File
@@ -97,7 +97,7 @@ namespace BLL
{
Model.SGGLDB db = Funs.DB;
return (from x in Funs.DB.SitePerson_Person
where x.TeamGroupId == teamGroupId && x.IsUsed == true && (!x.OutTime.HasValue || x.OutTime > DateTime.Now)
where x.TeamGroupId == teamGroupId && x.IsUsed == 1 && (!x.OutTime.HasValue || x.OutTime > DateTime.Now)
select x).Count();
}
@@ -124,6 +124,11 @@ namespace BLL
orderby x.TeamGroupCode select x).ToList();
}
public static Model.ProjectData_TeamGroup getTeamGroupByTeamGroupName(string projectId, string unitId, string name)
{
return Funs.DB.ProjectData_TeamGroup.FirstOrDefault(x => x.ProjectId == projectId && x.UnitId == unitId && x.TeamGroupName == name);
}
#region
/// <summary>
/// 表下拉框