Commit 2657f929 by lcx

其他绩效文件上传补充核算单元

parent 1c2f87a7
......@@ -717,14 +717,14 @@
</summary>
</member>
<member name="P:Performance.EntityModels.ag_othersource.Id">
<summary>
<summary>
</summary>
</summary>
</member>
<member name="P:Performance.EntityModels.ag_othersource.SecondId">
<summary>
<summary>
</summary>
</summary>
</member>
<member name="P:Performance.EntityModels.ag_othersource.WorkNumber">
<summary>
......@@ -758,7 +758,7 @@
</member>
<member name="P:Performance.EntityModels.ag_othersource.DeptReward">
<summary>
科室单项奖励
科室单项奖励(只读)
</summary>
</member>
<member name="P:Performance.EntityModels.ag_othersource.DistPerformance">
......@@ -791,6 +791,21 @@
预留金额
</summary>
</member>
<member name="P:Performance.EntityModels.ag_othersource.ManagementAllowance">
<summary>
管理津贴
</summary>
</member>
<member name="P:Performance.EntityModels.ag_othersource.IndividualReward">
<summary>
单项奖励
</summary>
</member>
<member name="P:Performance.EntityModels.ag_othersource.AllocationOfKeySpecialty">
<summary>
重点专科分配
</summary>
</member>
<member name="T:Performance.EntityModels.ag_secondallot">
<summary>
二次绩效列表
......
......@@ -573,7 +573,7 @@ public void ImpoerAprEmployees(int allotid, string path, int userid)
throw new PerformanceException("文件中存在“录入科室”为空的数据");
var employees = peremployeeRepository.GetEntities(w => w.AllotId == allotid);
foreach (var item in entities.Where(w => !string.IsNullOrEmpty(w.PersonnelNumber) && !string.IsNullOrEmpty(w.AccountingUnit)))
foreach (var item in entities.Where(w => !string.IsNullOrEmpty(w.PersonnelNumber) && string.IsNullOrEmpty(w.AccountingUnit)))
{
item.AccountingUnit = employees?.FirstOrDefault(w => w.PersonnelNumber == item.PersonnelNumber)?.AccountingUnit ?? "";
}
......
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