医院其他绩效

parent 3f4b013a
...@@ -606,12 +606,14 @@ public List<DeptResponse> GetAdminPerformance(int allotId) ...@@ -606,12 +606,14 @@ public List<DeptResponse> GetAdminPerformance(int allotId)
var otherPerformances = perapramountRepository var otherPerformances = perapramountRepository
.GetFullAmount(t => t.AllotId == allotId && t.Status == 3) .GetFullAmount(t => t.AllotId == allotId && t.Status == 3)
?.GroupBy(t => new { t.AccountingUnit, t.UnitType }) ?.GroupBy(t => new { t.AccountingUnit, t.UnitType })
.Select(t => new view_per_total_amount(t.Key.UnitType.Replace("行政后勤", "行政工勤"), t.Key.AccountingUnit, "", t.Sum(s => s.Amount) ?? 0)); .Select(t => new view_per_total_amount(t.Key.UnitType.Replace("行政后勤", "行政工勤"), t.Key.AccountingUnit, "", t.Sum(s => s.Amount) ?? 0))
.ToList();
var hideOtherPerformances = _hideRepository var hideOtherPerformances = _hideRepository
.GetFullAmount(t => t.AllotId == allotId && t.Status == 3) .GetFullAmount(t => t.AllotId == allotId && t.Status == 3)
?.GroupBy(t => new { t.AccountingUnit, t.UnitType }) ?.GroupBy(t => new { t.AccountingUnit, t.UnitType })
.Select(t => new view_per_total_amount(t.Key.UnitType.Replace("行政后勤", "行政工勤"), t.Key.AccountingUnit, "", t.Sum(s => s.Amount) ?? 0)); .Select(t => new view_per_total_amount(t.Key.UnitType.Replace("行政后勤", "行政工勤"), t.Key.AccountingUnit, "", t.Sum(s => s.Amount) ?? 0))
.ToList();
// 医院其他绩效 / 不公示其他绩效、科主任护士长管理绩效、合并实发 // 医院其他绩效 / 不公示其他绩效、科主任护士长管理绩效、合并实发
foreach (var item in result) foreach (var item in result)
......
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