From 181a5c0bb797597bcf34a1d026db2581381e353c Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Tue, 6 Sep 2022 17:37:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Financial/FinancialService.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/IRaCIS.Core.Application/Financial/FinancialService.cs b/IRaCIS.Core.Application/Financial/FinancialService.cs index ff99e90..fc98b95 100644 --- a/IRaCIS.Core.Application/Financial/FinancialService.cs +++ b/IRaCIS.Core.Application/Financial/FinancialService.cs @@ -1315,9 +1315,8 @@ namespace IRaCIS.Application.Services public List GetLaborPaymentList(List paymentIds) { - var query = - //from payment in _paymentRepository.GetAll().Where(t => paymentIds.Contains(t.Id)) - from payment in _paymentRepository.GetAll() + var query = from payment in _paymentRepository.GetAll().Where(t => paymentIds.Contains(t.Id)) + join reviewer in _doctorRepository.GetAll() on payment.DoctorId equals reviewer.Id join payInfo in _doctorPayInfoRepository.GetAll() on payment.DoctorId equals payInfo.DoctorId select new LaborPayment()