行政科室测算考核前绩效

parent 04bdcd87
...@@ -143,6 +143,11 @@ public List<SecondListResponse> GetSecondList(int userId) ...@@ -143,6 +143,11 @@ public List<SecondListResponse> GetSecondList(int userId)
account = accountList?.FirstOrDefault(t => t.AllotID == item && t.UnitType == (int)UnitType.行政后勤); account = accountList?.FirstOrDefault(t => t.AllotID == item && t.UnitType == (int)UnitType.行政后勤);
if (account == null && special == null) continue; if (account == null && special == null) continue;
// 医生组护理组特殊核算组
var realGiveFee = role.Type == application.SpecialRole ? special.RealGiveFee : account.RealGiveFee;
// 行政后勤则取考核前绩效
if (role.Type == application.OfficeRole)
realGiveFee = account.PerforTotal;
var second = new ag_secondallot var second = new ag_secondallot
{ {
...@@ -151,7 +156,7 @@ public List<SecondListResponse> GetSecondList(int userId) ...@@ -151,7 +156,7 @@ public List<SecondListResponse> GetSecondList(int userId)
Month = allot.Month, Month = allot.Month,
Department = user.Department, Department = user.Department,
UnitType = role.Type == application.SpecialRole ? UnitType.特殊核算组.ToString() : ((UnitType)account.UnitType).ToString(), UnitType = role.Type == application.SpecialRole ? UnitType.特殊核算组.ToString() : ((UnitType)account.UnitType).ToString(),
RealGiveFee = role.Type == application.SpecialRole ? special.RealGiveFee : account.RealGiveFee, RealGiveFee = realGiveFee,
Status = 1 Status = 1
}; };
newSecond.Add(second); newSecond.Add(second);
......
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