焊工问题处理

This commit is contained in:
2025-07-02 16:12:26 +08:00
parent 52dec49b5e
commit 38764c36ec
6 changed files with 63 additions and 29 deletions
@@ -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>