report bug fixed
This commit is contained in:
@@ -1605,7 +1605,7 @@ public class ReportRepository : IReportRepository
|
||||
x.StartWorkDate <= nextMonthEnd && x.LeftWorkDate > nextMonthStart);
|
||||
var allContractLeftworkEmployeeIds = allContractLeftworks.Select(x => x.EmployeeId).ToList();
|
||||
var allContractCreated = _context.Contracts
|
||||
.Where(x => allContractLeftworkEmployeeIds.Contains(x.EmployeeId))
|
||||
.Where(x => allContractLeftworkEmployeeIds.Contains(x.EmployeeId) && x.WorkshopIds == workshopId)
|
||||
.Where(x =>
|
||||
x.ContarctStart.Date <= nextMonthEnd.Date && x.ContractEnd.Date > nextMonthStart.Date && x.IsActiveString == "true");
|
||||
var allContractCreatedEmoployeeIds = allContractCreated.Select(x => x.EmployeeId).ToList();
|
||||
@@ -1737,7 +1737,7 @@ public class ReportRepository : IReportRepository
|
||||
x.StartWorkDate <= currentMonthEnd && x.LeftWorkDate > currentMonthStart);
|
||||
var allContractLeftworkEmployeeIds = allContractLeftworks.Select(x => x.EmployeeId).ToList();
|
||||
var allContractCreated = _context.CheckoutSet
|
||||
.Where(x => allContractLeftworkEmployeeIds.Contains(x.EmployeeId))
|
||||
.Where(x => allContractLeftworkEmployeeIds.Contains(x.EmployeeId) && x.WorkshopId == workshopId)
|
||||
.Where(x =>
|
||||
x.ContractStart.Date <= currentMonthEnd.Date && x.ContractEnd.Date > currentMonthStart.Date && x.IsActiveString == "true");
|
||||
var allContractCreatedEmoployeeIds = allContractCreated.Select(x => x.EmployeeId).ToList();
|
||||
|
||||
Reference in New Issue
Block a user