Commit 1d294215 by 钟博

其他绩效统计:核算单元组别修改null值

parent b8361414
......@@ -1460,14 +1460,13 @@ public res_baiscnorm EditHospitalAvg(ComputerAvgRequest request)
var amount = employees.First(t => t.DoctorName == name);
var unitype = perforPeremployeeRepository.GetEntity(t =>
t.DoctorName == name && t.JobNumber == amount.PersonnelNumber)?.UnitType;
dicData.Add("核算单元组别",unitype);
dicData.Add("核算单元组别",unitype??"/");
dicData.Add("核算单元",amount?.AccountingUnit??"");
dicData.Add("工号",amount?.PersonnelNumber??"");
dicData.Add("人员姓名",amount?.DoctorName??"");
foreach (var type in perForType)
{
var emp = employees.Where(t => t.PerforType == type && t.DoctorName == name)?.ToList();
if (!emp.Any())
dicData.Add(type,"0");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment