Commit eb1dd67f by lcx

实体,修改bug

parent 247fdbd5
...@@ -7,50 +7,50 @@ ...@@ -7,50 +7,50 @@
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
namespace Performance.EntityModels namespace Performance.EntityModels
{ {
/// <summary> /// <summary>
/// 二次绩效结果表 /// 二次绩效结果表
/// </summary> /// </summary>
[Table("ag_compute")] [Table("ag_compute")]
public class ag_compute public class ag_compute
{ {
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
[Key] [Key]
public int Id { get; set; } public int Id { get; set; }
/// <summary> /// <summary>
/// 绩效ID /// 绩效ID
/// </summary> /// </summary>
public Nullable<int> AllotId { get; set; } public Nullable<int> AllotId { get; set; }
/// <summary> /// <summary>
/// 二次绩效ID /// 二次绩效ID
/// </summary> /// </summary>
public Nullable<int> SecondId { get; set; } public Nullable<int> SecondId { get; set; }
/// <summary> /// <summary>
/// 科室 /// 科室
/// </summary> /// </summary>
public string Department { get; set; } public string Department { get; set; }
/// <summary> /// <summary>
/// 职称 /// 职称
/// </summary> /// </summary>
public string WorkPost { get; set; } public string WorkPost { get; set; }
/// <summary> /// <summary>
/// 工号 /// 工号
/// </summary> /// </summary>
public string JobNumber { get; set; } public string JobNumber { get; set; }
/// <summary> /// <summary>
/// 人员名称 /// 人员名称
/// </summary> /// </summary>
public string PersonName { get; set; } public string PersonName { get; set; }
/// <summary> /// <summary>
/// 实发金额 /// 实发金额
/// </summary> /// </summary>
......
...@@ -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; }
...@@ -55,7 +60,7 @@ public class ag_secondallot ...@@ -55,7 +60,7 @@ public class ag_secondallot
/// 状态 1 未提交 2 等待审核 3 审核通过 4 驳回 /// 状态 1 未提交 2 等待审核 3 审核通过 4 驳回
/// </summary> /// </summary>
public Nullable<int> Status { get; set; } public Nullable<int> Status { get; set; }
/// <summary> /// <summary>
/// 提交类型 1使用模板 2 其他类型数据 /// 提交类型 1使用模板 2 其他类型数据
/// </summary> /// </summary>
......
...@@ -50,12 +50,17 @@ public class im_accountbasic ...@@ -50,12 +50,17 @@ public class im_accountbasic
/// 科室 /// 科室
/// </summary> /// </summary>
public string Department { get; set; } public string Department { get; set; }
/// <summary>
/// 是否带入平均计算 是 否
/// </summary>
public string IncludeAvgCalculate { get; set; }
/// <summary> /// <summary>
/// 定科人数 /// 定科人数
/// </summary> /// </summary>
public Nullable<decimal> PermanentStaff { get; set; } public Nullable<decimal> PermanentStaff { get; set; }
/// <summary> /// <summary>
/// 科主任数量 /// 科主任数量
/// </summary> /// </summary>
......
...@@ -65,12 +65,12 @@ public class im_employee_clinic ...@@ -65,12 +65,12 @@ public class im_employee_clinic
/// 职称 /// 职称
/// </summary> /// </summary>
public string JobTitle { get; set; } public string JobTitle { get; set; }
/// <summary> /// <summary>
/// 基础绩效系数 /// 基础绩效系数
/// </summary> /// </summary>
public Nullable<decimal> Basics { get; set; } public Nullable<decimal> Basics { get; set; }
/// <summary> /// <summary>
/// 岗位系数 /// 岗位系数
/// </summary> /// </summary>
......
...@@ -45,7 +45,12 @@ public class res_account ...@@ -45,7 +45,12 @@ public class res_account
/// 科室 /// 科室
/// </summary> /// </summary>
public string Department { get; set; } public string Department { get; set; }
/// <summary>
/// 是否带入平均计算 是 否
/// </summary>
public string IncludeAvgCalculate { get; set; }
/// <summary> /// <summary>
/// 定科人数 /// 定科人数
/// </summary> /// </summary>
......
...@@ -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