合并最新
This commit is contained in:
@@ -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>
|
||||
/// 表下拉框
|
||||
|
||||
Reference in New Issue
Block a user