fix 添加档案详情idclassname
This commit is contained in:
@@ -34,6 +34,11 @@ public class GainfoDetailResponse
|
||||
/// </summary>
|
||||
public string IdClass { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 证件类型名称
|
||||
/// </summary>
|
||||
public string ClassName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 身份证号
|
||||
/// </summary>
|
||||
|
||||
@@ -368,8 +368,9 @@ public class GainfoService : IGainfoService
|
||||
.LeftJoin<PositionEntity>((ga, de, type, posi) => ga.Position == posi.Name)
|
||||
.LeftJoin<BasicTypeEntity>((ga, de, type, posi, type2) => ga.CountryNo == type2.Code && type2.Type == "country")
|
||||
.LeftJoin<BasicTypeEntity>((ga, de, type, posi, type2, type3) => ga.Nation == type3.Code && type3.Type == "nation")
|
||||
.LeftJoin<BasicTypeEntity>((ga, de, type, posi, type2, type3,type4) => ga.IdClass == type4.Code && type4.Type == "cls")
|
||||
.Where(ga => ga.No == request.No)
|
||||
.Select((ga, de, type, posi, type2, type3) => new GainfoDetailResponse
|
||||
.Select((ga, de, type, posi, type2, type3,type4) => new GainfoDetailResponse
|
||||
{
|
||||
No = ga.No,
|
||||
SapNo = ga.SapNo,
|
||||
@@ -391,6 +392,7 @@ public class GainfoService : IGainfoService
|
||||
Marital = ga.Marital,
|
||||
CountryName = type2.Display,
|
||||
NationName = type3.Display,
|
||||
ClassName = type4.Display,
|
||||
})
|
||||
.FirstAsync();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user