fix 档案详情添加返回字段
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Dlhis.Entity.Basic.Enums;
|
||||
using Kurisu.AspNetCore.Utils.Extensions;
|
||||
|
||||
namespace Dlhis.Basic.Organization.Response;
|
||||
|
||||
@@ -49,6 +50,11 @@ public class GainfoDetailResponse
|
||||
/// </summary>
|
||||
public GenderEnumType Gender { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 性别描述
|
||||
/// </summary>
|
||||
public string GenderCN => Gender.GetDescription();
|
||||
|
||||
/// <summary>
|
||||
/// 身份证籍贯
|
||||
/// </summary>
|
||||
|
||||
@@ -389,7 +389,7 @@ public class GainfoService : IGainfoService
|
||||
Degree = ga.Degree,
|
||||
Werks = ga.Werks,
|
||||
CostId = ga.CostId,
|
||||
Marital = ga.Marital,
|
||||
Marital = ga.Marital== "Single" ? "未婚":"已婚",
|
||||
CountryName = type2.Display,
|
||||
NationName = type3.Display,
|
||||
ClassName = type4.Display,
|
||||
|
||||
Reference in New Issue
Block a user