全院发放表行政后勤改行政工勤

parent 027b1210
...@@ -935,7 +935,10 @@ public List<ComputeResponse> AllCompute(int allotId, int hospitalId, int isShowM ...@@ -935,7 +935,10 @@ public List<ComputeResponse> AllCompute(int allotId, int hospitalId, int isShowM
t.Batch = batch.Batch; t.Batch = batch.Batch;
}); });
} }
response?.ForEach(item =>
{
item.UnitType = item.UnitType.Replace("行政后勤", "行政工勤");
});
var AccountTypes = EnumHelper.GetItems<AccountUnitType>(); var AccountTypes = EnumHelper.GetItems<AccountUnitType>();
return response?.OrderBy(t => AccountTypes.FirstOrDefault(a => a.Name == t.UnitType)?.Value).ThenByDescending(t => t.AccountingUnit).ToList(); return response?.OrderBy(t => AccountTypes.FirstOrDefault(a => a.Name == t.UnitType)?.Value).ThenByDescending(t => t.AccountingUnit).ToList();
......
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