fix 离职导致不显示问题
This commit is contained in:
@@ -161,6 +161,10 @@ public class WorkGridService : IWorkGridService
|
||||
.Where(p => p.Code == x.LeaderUserCode && p.Factory == factory)
|
||||
.Any()
|
||||
||
|
||||
SqlFunc.Subqueryable<GainfoLeaveEntity>()
|
||||
.Where(p => p.Code == x.LeaderUserCode && p.Factory == factory)
|
||||
.Any()
|
||||
||
|
||||
SqlFunc.Subqueryable<WorkGridUserEntity>()
|
||||
.LeftJoin<GainfoEntity>((p, pga) => p.UserCode == pga.Code)
|
||||
.Where(p => p.WorkGridCode == x.Code)
|
||||
|
||||
Reference in New Issue
Block a user