master
he 2022-09-06 17:37:24 +08:00
parent dec70d0efd
commit 181a5c0bb7
1 changed files with 2 additions and 3 deletions

View File

@ -1315,9 +1315,8 @@ namespace IRaCIS.Application.Services
public List<LaborPayment> GetLaborPaymentList(List<Guid> paymentIds) public List<LaborPayment> GetLaborPaymentList(List<Guid> paymentIds)
{ {
var query = var query = from payment in _paymentRepository.GetAll().Where(t => paymentIds.Contains(t.Id))
//from payment in _paymentRepository.GetAll().Where(t => paymentIds.Contains(t.Id))
from payment in _paymentRepository.GetAll()
join reviewer in _doctorRepository.GetAll() on payment.DoctorId equals reviewer.Id join reviewer in _doctorRepository.GetAll() on payment.DoctorId equals reviewer.Id
join payInfo in _doctorPayInfoRepository.GetAll() on payment.DoctorId equals payInfo.DoctorId join payInfo in _doctorPayInfoRepository.GetAll() on payment.DoctorId equals payInfo.DoctorId
select new LaborPayment() select new LaborPayment()