焊工问题处理
This commit is contained in:
@@ -311,7 +311,10 @@ namespace BLL
|
||||
{
|
||||
int result = (from x in Funs.DB.BS_Welder
|
||||
where x.ProjectId == projectid && x.WED_IfOnGuard == true
|
||||
select x).Count();
|
||||
select x)
|
||||
.GroupBy(p => p.WED_WorkCode)
|
||||
.Select(g => g.First())
|
||||
.Count();
|
||||
return result;
|
||||
}
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user