LR-20210131IOQH\Administrator
2021-06-10 56e5ef90ee97e296014b4faf6863315ad0c2ace4
zhengcaioa/Services/AdmPieceCheckService.cs
@@ -136,7 +136,7 @@
                         from kkk in ksssss.DefaultIfEmpty()
                         join h in _context.HrDepts.Where(x => x.RecStatus == "A" && x.QiyongStatus == "A")
                      on kkk.DeptId equals h.Id
                      on a.DeptId equals h.Id
                     into hsss
                         from hhh in hsss.DefaultIfEmpty()
@@ -160,7 +160,7 @@
                         where a.RecStatus == "A" 
                          && (string.IsNullOrWhiteSpace(searchEntity.WorkTime) || (a.WorkTime >= WorkTimestart && a.WorkTime <= WorkTimeend))
                          && (string.IsNullOrWhiteSpace(searchEntity.PayType) || ccc.Pieceratetype == searchEntity.PayType.Trim())
                           && (string.IsNullOrWhiteSpace(searchEntity.DeptId) || kkk.DeptId == searchEntity.DeptId.Trim())
                           && (string.IsNullOrWhiteSpace(searchEntity.DeptId) || a.DeptId == searchEntity.DeptId.Trim())
                          && (string.IsNullOrWhiteSpace(searchEntity.UserName) || kkk.UserName.Contains(searchEntity.UserName.Trim()))