Commit fff0604a by lcx

修复年资绩效占比只带出默认值

parent a5ee5e64
...@@ -399,7 +399,7 @@ private void SupplementFixedData(ag_secondallot secondAllot, List<BodyItem> body ...@@ -399,7 +399,7 @@ private void SupplementFixedData(ag_secondallot secondAllot, List<BodyItem> body
foreach (var item in keyValue) foreach (var item in keyValue)
{ {
var field = bodyItems.FirstOrDefault(w => w.RowNumber == -1 && w.FiledName == item.Key); var field = bodyItems.FirstOrDefault(w => w.RowNumber == -1 && w.FiledName == item.Key);
if (field != null && !string.IsNullOrEmpty(item.Value)) field.Value = item.Value; if (field != null && string.IsNullOrEmpty(field.Value) && !string.IsNullOrEmpty(item.Value)) field.Value = item.Value;
} }
} }
......
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