|
|
|
@ -114,6 +114,7 @@ namespace Shentun.Peis.InternalReports |
|
|
|
a, |
|
|
|
CheckDoctorId = ad.CheckDoctorId, |
|
|
|
DoctorName = ab != null ? ab.Surname : ad.CheckDoctorId, |
|
|
|
DoctorCode = ab != null ? ab.UserName : "", |
|
|
|
AsbitemName = ac != null ? ac.DisplayName : "" |
|
|
|
}); |
|
|
|
|
|
|
|
@ -128,6 +129,7 @@ namespace Shentun.Peis.InternalReports |
|
|
|
AsbitemName = s.FirstOrDefault().AsbitemName, |
|
|
|
CheckCount = s.Count(), |
|
|
|
DoctorName = s.FirstOrDefault().DoctorName, |
|
|
|
DoctorCode = s.FirstOrDefault().DoctorCode, |
|
|
|
AvgChargePrice = Math.Round(s.Average(v => v.a.ChargePrice), 2), |
|
|
|
AvgStandardPrice = Math.Round(s.Average(v => v.a.StandardPrice), 2), |
|
|
|
SumChargePrice = Math.Round(s.Sum(v => v.a.ChargePrice * v.a.Amount), 2), |
|
|
|
@ -156,7 +158,8 @@ namespace Shentun.Peis.InternalReports |
|
|
|
select new |
|
|
|
{ |
|
|
|
a, |
|
|
|
SumCheckDoctorName = ab != null ? ab.Surname : "" |
|
|
|
SumCheckDoctorName = ab != null ? ab.Surname : "", |
|
|
|
SumCheckDoctorCode = ab != null ? ab.UserName : "" |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
@ -171,6 +174,7 @@ namespace Shentun.Peis.InternalReports |
|
|
|
.Select(s => new GetSumCheckDoctorWorkLoadReportDto |
|
|
|
{ |
|
|
|
SumCheckDoctorName = s.Key.SumCheckDoctorName, |
|
|
|
SumCheckDoctorCode = s.FirstOrDefault().SumCheckDoctorCode, |
|
|
|
SumCheckCount = s.Count(), |
|
|
|
Percentage = Math.Round(Convert.ToDecimal(s.Count() * 100) / sumCount, 2).ToString() |
|
|
|
}).ToList(); |
|
|
|
@ -195,7 +199,8 @@ namespace Shentun.Peis.InternalReports |
|
|
|
select new |
|
|
|
{ |
|
|
|
patientRegister, |
|
|
|
AuditDoctorName = userEmptyHave != null ? userEmptyHave.Surname : "" |
|
|
|
AuditDoctorName = userEmptyHave != null ? userEmptyHave.Surname : "", |
|
|
|
AuditDoctorCode = userEmptyHave != null ? userEmptyHave.UserName : "" |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
@ -210,6 +215,7 @@ namespace Shentun.Peis.InternalReports |
|
|
|
.Select(s => new GetAuditDoctorWorkLoadReportDto |
|
|
|
{ |
|
|
|
AuditDoctorName = s.Key.AuditDoctorName, |
|
|
|
AuditDoctorCode = s.FirstOrDefault().AuditDoctorCode, |
|
|
|
AuditCount = s.Count(), |
|
|
|
Percentage = Math.Round(Convert.ToDecimal(s.Count() * 100) / sumCount, 2).ToString() |
|
|
|
}).ToList(); |
|
|
|
|