Commit eb1dd67f by lcx

实体,修改bug

parent 247fdbd5
......@@ -27,6 +27,11 @@ public class ag_secondallot
public Nullable<int> AllotId { get; set; }
/// <summary>
/// 使用模板
/// </summary>
public Nullable<int> UseTempId { get; set; }
/// <summary>
/// 科室类型
/// </summary>
public string UnitType { get; set; }
......
......@@ -52,6 +52,11 @@ public class im_accountbasic
public string Department { get; set; }
/// <summary>
/// 是否带入平均计算 是 否
/// </summary>
public string IncludeAvgCalculate { get; set; }
/// <summary>
/// 定科人数
/// </summary>
public Nullable<decimal> PermanentStaff { get; set; }
......
......@@ -47,6 +47,11 @@ public class res_account
public string Department { get; set; }
/// <summary>
/// 是否带入平均计算 是 否
/// </summary>
public string IncludeAvgCalculate { get; set; }
/// <summary>
/// 定科人数
/// </summary>
public Nullable<decimal> PermanentStaff { get; set; }
......
......@@ -333,12 +333,12 @@ private List<BodyItem> GetBodyItems(List<ag_fixatitem> fixatitems, List<HeadItem
bodyItems = fixatitems.Select(t => new BodyItem
{
RowNumber = t.RowNumber.Value,
FiledId = headItems.FirstOrDefault(h => h.FiledName == t.ItemName && h.Type == t.Type)?.FiledId ?? t.ItemName + t.Type,
FiledId = headItems.FirstOrDefault(h => h.FiledName == t.ItemName && h.Type == t.Type)?.FiledId ?? $"{t.ItemName}{t.Type}",
FiledName = t.ItemName,
SourceType = t.SourceType.Value,
Type = t.Type.Value,
SourceType = t.SourceType ?? 0,
Type = t.Type ?? 0,
Value = t.ItemValue,
Sort = t.Sort.Value
Sort = t.Sort ?? 0
}).ToList();
}
return bodyItems;
......
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