二次分配医生姓名使用人员字典

parent e7a9f456
...@@ -32,6 +32,7 @@ public List<view_per_apr_amount> GetFullAmount(Expression<Func<per_apr_amount, b ...@@ -32,6 +32,7 @@ public List<view_per_apr_amount> GetFullAmount(Expression<Func<per_apr_amount, b
AccountingUnit = w.AccountingUnit, AccountingUnit = w.AccountingUnit,
AllotId = w.AllotId, AllotId = w.AllotId,
PersonnelNumber = w.PersonnelNumber, PersonnelNumber = w.PersonnelNumber,
DoctorName = w.DoctorName,
}); });
var res = from outer in amounts var res = from outer in amounts
...@@ -43,9 +44,9 @@ public List<view_per_apr_amount> GetFullAmount(Expression<Func<per_apr_amount, b ...@@ -43,9 +44,9 @@ public List<view_per_apr_amount> GetFullAmount(Expression<Func<per_apr_amount, b
Id = outer.Id, Id = outer.Id,
AllotId = outer.AllotId, AllotId = outer.AllotId,
PersonnelNumber = outer.PersonnelNumber, PersonnelNumber = outer.PersonnelNumber,
DoctorName = outer.DoctorName,
PerforType = outer.PerforType, PerforType = outer.PerforType,
Amount = outer.Amount, Amount = outer.Amount,
DoctorName = tt?.DoctorName ?? "",
AccountingUnit = tt?.AccountingUnit ?? "", AccountingUnit = tt?.AccountingUnit ?? "",
UnitType = tt?.UnitType ?? "", UnitType = tt?.UnitType ?? "",
TypeInDepartment = outer.TypeInDepartment, TypeInDepartment = outer.TypeInDepartment,
......
...@@ -32,6 +32,7 @@ public List<view_per_apr_amount> GetFullAmount(Expression<Func<per_apr_amount_hi ...@@ -32,6 +32,7 @@ public List<view_per_apr_amount> GetFullAmount(Expression<Func<per_apr_amount_hi
AccountingUnit = w.AccountingUnit, AccountingUnit = w.AccountingUnit,
AllotId = w.AllotId, AllotId = w.AllotId,
PersonnelNumber = w.PersonnelNumber, PersonnelNumber = w.PersonnelNumber,
DoctorName = w.DoctorName,
}); });
var res = from outer in amounts var res = from outer in amounts
...@@ -43,9 +44,9 @@ public List<view_per_apr_amount> GetFullAmount(Expression<Func<per_apr_amount_hi ...@@ -43,9 +44,9 @@ public List<view_per_apr_amount> GetFullAmount(Expression<Func<per_apr_amount_hi
Id = outer.Id, Id = outer.Id,
AllotId = outer.AllotId, AllotId = outer.AllotId,
PersonnelNumber = outer.PersonnelNumber, PersonnelNumber = outer.PersonnelNumber,
DoctorName = outer.DoctorName,
PerforType = outer.PerforType, PerforType = outer.PerforType,
Amount = outer.Amount, Amount = outer.Amount,
DoctorName = tt?.DoctorName ?? "",
AccountingUnit = tt?.AccountingUnit ?? "", AccountingUnit = tt?.AccountingUnit ?? "",
UnitType = tt?.UnitType ?? "", UnitType = tt?.UnitType ?? "",
TypeInDepartment = outer.TypeInDepartment, TypeInDepartment = outer.TypeInDepartment,
......
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