Commit eb1dd67f by lcx

实体,修改bug

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