no message
This commit is contained in:
parent
8c4cbe43b0
commit
2ee9df8db1
2 changed files with 124 additions and 4 deletions
|
|
@ -198,14 +198,14 @@ namespace BMA.EHR.Domain.Models.Placement
|
||||||
// [Comment("Id ด้าน/สาขา")]
|
// [Comment("Id ด้าน/สาขา")]
|
||||||
// public PositionPathSide? PositionPathSide { get; set; }
|
// public PositionPathSide? PositionPathSide { get; set; }
|
||||||
|
|
||||||
// [Comment("Id ประเภทตำแหน่ง")]
|
[Comment("Id ประเภทตำแหน่ง")]
|
||||||
// public PositionType? PositionType { get; set; }
|
public Guid? PositionTypeId { get; set; }
|
||||||
|
|
||||||
// [Comment("Id สายงาน")]
|
// [Comment("Id สายงาน")]
|
||||||
// public PositionLine? PositionLine { get; set; }
|
// public PositionLine? PositionLine { get; set; }
|
||||||
|
|
||||||
// [Comment("Id ระดับ")]
|
[Comment("Id ระดับ")]
|
||||||
// public PositionLevel? PositionLevel { get; set; }
|
public Guid? PositionLevelId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
[Comment("คะแนนเต็มภาค ก")]
|
[Comment("คะแนนเต็มภาค ก")]
|
||||||
|
|
@ -247,6 +247,66 @@ namespace BMA.EHR.Domain.Models.Placement
|
||||||
public string? RemarkHorizontal { get; set; }
|
public string? RemarkHorizontal { get; set; }
|
||||||
[Comment("profileId")]
|
[Comment("profileId")]
|
||||||
public string? profileId { get; set; }
|
public string? profileId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
[Comment("ข้อมูลเก่า")]
|
||||||
|
public bool? IsOld { get; set; }
|
||||||
|
[Comment("เงินเดือน")]
|
||||||
|
public double? AmountOld { get; set; }
|
||||||
|
[Comment("ระดับโครงสร้าง")]
|
||||||
|
public string? nodeOld { get; set; }
|
||||||
|
[Comment("id โครงสร้าง")]
|
||||||
|
public string? nodeIdOld { get; set; }
|
||||||
|
[Comment("id อัตรากำลัง")]
|
||||||
|
public string? posmasterIdOld { get; set; }
|
||||||
|
[Comment("ชื่อหน่วยงาน root")]
|
||||||
|
public string? rootOld { get; set; }
|
||||||
|
[Comment("id หน่วยงาน root")]
|
||||||
|
public string? rootIdOld { get; set; }
|
||||||
|
[Comment("ชื่อย่อหน่วยงาน root")]
|
||||||
|
public string? rootShortNameOld { get; set; }
|
||||||
|
[Comment("ชื่อหน่วยงาน child1")]
|
||||||
|
public string? child1Old { get; set; }
|
||||||
|
[Comment("id หน่วยงาน child1")]
|
||||||
|
public string? child1IdOld { get; set; }
|
||||||
|
[Comment("ชื่อย่อหน่วยงาน child1")]
|
||||||
|
public string? child1ShortNameOld { get; set; }
|
||||||
|
[Comment("ชื่อหน่วยงาน child2")]
|
||||||
|
public string? child2Old { get; set; }
|
||||||
|
[Comment("id หน่วยงาน child2")]
|
||||||
|
public string? child2IdOld { get; set; }
|
||||||
|
[Comment("ชื่อย่อหน่วยงาน child2")]
|
||||||
|
public string? child2ShortNameOld { get; set; }
|
||||||
|
[Comment("ชื่อหน่วยงาน child3")]
|
||||||
|
public string? child3Old { get; set; }
|
||||||
|
[Comment("id หน่วยงาน child3")]
|
||||||
|
public string? child3IdOld { get; set; }
|
||||||
|
[Comment("ชื่อย่อหน่วยงาน child3")]
|
||||||
|
public string? child3ShortNameOld { get; set; }
|
||||||
|
[Comment("ชื่อหน่วยงาน child4")]
|
||||||
|
public string? child4Old { get; set; }
|
||||||
|
[Comment("id หน่วยงาน child4")]
|
||||||
|
public string? child4IdOld { get; set; }
|
||||||
|
[Comment("ชื่อย่อหน่วยงาน child4")]
|
||||||
|
public string? child4ShortNameOld { get; set; }
|
||||||
|
[Comment("id revision")]
|
||||||
|
public string? orgRevisionIdOld { get; set; }
|
||||||
|
[Comment("id ตำแหน่ง")]
|
||||||
|
public string? positionIdOld { get; set; }
|
||||||
|
[Comment("เลขที่ตำแหน่ง")]
|
||||||
|
public int? posMasterNoOld { get; set; }
|
||||||
|
[Comment("ชื่อตำแหน่งในสายงาน")]
|
||||||
|
public string? positionNameOld { get; set; }
|
||||||
|
[Comment("สายงาน")]
|
||||||
|
public string? positionFieldOld { get; set; }
|
||||||
|
[Comment("id ประเภทตำแหน่ง")]
|
||||||
|
public string? posTypeIdOld { get; set; }
|
||||||
|
[Comment("ชื่อประเภทตำแหน่ง")]
|
||||||
|
public string? posTypeNameOld { get; set; }
|
||||||
|
[Comment("id ระดับตำแหน่ง")]
|
||||||
|
public string? posLevelIdOld { get; set; }
|
||||||
|
[Comment("ชื่อระดับตำแหน่ง")]
|
||||||
|
public string? posLevelNameOld { get; set; }
|
||||||
public virtual List<PlacementCertificate> PlacementCertificates { get; set; } = new List<PlacementCertificate>();
|
public virtual List<PlacementCertificate> PlacementCertificates { get; set; } = new List<PlacementCertificate>();
|
||||||
public virtual List<PlacementEducation> PlacementEducations { get; set; } = new List<PlacementEducation>();
|
public virtual List<PlacementEducation> PlacementEducations { get; set; } = new List<PlacementEducation>();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2193,6 +2193,8 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
||||||
OccupationSalary = candidate.OccupationSalary,
|
OccupationSalary = candidate.OccupationSalary,
|
||||||
OccupationPosition = candidate.OccupationPosition,
|
OccupationPosition = candidate.OccupationPosition,
|
||||||
OccupationPositionType = candidate.OccupationPositionType,
|
OccupationPositionType = candidate.OccupationPositionType,
|
||||||
|
PositionLevelId = candidate.PositionExam == null ? null : candidate.PositionExam.PositionLevelId,
|
||||||
|
PositionTypeId = Guid.Parse("1526d9d3-d8b1-43ab-81b5-a84dfbe08071"),
|
||||||
OccupationTelephone = candidate.OccupationTelephone,
|
OccupationTelephone = candidate.OccupationTelephone,
|
||||||
PointTotalA = candidate.PointTotalA == null ? null : Convert.ToDouble(candidate.PointTotalA),
|
PointTotalA = candidate.PointTotalA == null ? null : Convert.ToDouble(candidate.PointTotalA),
|
||||||
PointA = candidate.PointA == null ? null : Convert.ToDouble(candidate.PointA),
|
PointA = candidate.PointA == null ? null : Convert.ToDouble(candidate.PointA),
|
||||||
|
|
@ -2217,6 +2219,35 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
||||||
LastUpdateFullName = FullName ?? "",
|
LastUpdateFullName = FullName ?? "",
|
||||||
IsOfficer = IsOfficer,
|
IsOfficer = IsOfficer,
|
||||||
profileId = org == null || org.result == null ? null : org.result.profileId,
|
profileId = org == null || org.result == null ? null : org.result.profileId,
|
||||||
|
IsOld = org == null || org.result == null ? false : true,
|
||||||
|
AmountOld = org == null || org.result == null ? null : org.result.AmountOld,
|
||||||
|
nodeOld = org == null || org.result == null ? null : org.result.node,
|
||||||
|
nodeIdOld = org == null || org.result == null ? null : org.result.nodeId,
|
||||||
|
posmasterIdOld = org == null || org.result == null ? null : org.result.posmasterId,
|
||||||
|
rootOld = org == null || org.result == null ? null : org.result.root,
|
||||||
|
rootIdOld = org == null || org.result == null ? null : org.result.rootId,
|
||||||
|
rootShortNameOld = org == null || org.result == null ? null : org.result.rootShortName,
|
||||||
|
child1Old = org == null || org.result == null ? null : org.result.child1,
|
||||||
|
child1IdOld = org == null || org.result == null ? null : org.result.child1Id,
|
||||||
|
child1ShortNameOld = org == null || org.result == null ? null : org.result.child1ShortName,
|
||||||
|
child2Old = org == null || org.result == null ? null : org.result.child2,
|
||||||
|
child2IdOld = org == null || org.result == null ? null : org.result.child2Id,
|
||||||
|
child2ShortNameOld = org == null || org.result == null ? null : org.result.child2ShortName,
|
||||||
|
child3Old = org == null || org.result == null ? null : org.result.child3,
|
||||||
|
child3IdOld = org == null || org.result == null ? null : org.result.child3Id,
|
||||||
|
child3ShortNameOld = org == null || org.result == null ? null : org.result.child3ShortName,
|
||||||
|
child4Old = org == null || org.result == null ? null : org.result.child4,
|
||||||
|
child4IdOld = org == null || org.result == null ? null : org.result.child4Id,
|
||||||
|
child4ShortNameOld = org == null || org.result == null ? null : org.result.child4ShortName,
|
||||||
|
orgRevisionIdOld = org == null || org.result == null ? null : org.result.orgRevisionId,
|
||||||
|
// positionIdOld = org == null || org.result == null ? null : org.result.positionIdOld,
|
||||||
|
posMasterNoOld = org == null || org.result == null ? null : org.result.posMasterNo,
|
||||||
|
positionNameOld = org == null || org.result == null ? null : org.result.position,
|
||||||
|
// positionFieldOld = org == null || org.result == null ? null : org.result.positionFieldOld,
|
||||||
|
posTypeIdOld = org == null || org.result == null ? null : org.result.posTypeId,
|
||||||
|
posTypeNameOld = org == null || org.result == null ? null : org.result.posTypeName,
|
||||||
|
posLevelIdOld = org == null || org.result == null ? null : org.result.posLevelId,
|
||||||
|
posLevelNameOld = org == null || org.result == null ? null : org.result.posLevelName,
|
||||||
};
|
};
|
||||||
await _contextMetadata.PlacementProfiles.AddAsync(placementProfile);
|
await _contextMetadata.PlacementProfiles.AddAsync(placementProfile);
|
||||||
|
|
||||||
|
|
@ -2412,6 +2443,35 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
||||||
LastUpdateFullName = FullName ?? "",
|
LastUpdateFullName = FullName ?? "",
|
||||||
IsOfficer = IsOfficer,
|
IsOfficer = IsOfficer,
|
||||||
profileId = org == null || org.result == null ? null : org.result.profileId,
|
profileId = org == null || org.result == null ? null : org.result.profileId,
|
||||||
|
IsOld = org == null || org.result == null ? false : true,
|
||||||
|
AmountOld = org == null || org.result == null ? null : org.result.AmountOld,
|
||||||
|
nodeOld = org == null || org.result == null ? null : org.result.node,
|
||||||
|
nodeIdOld = org == null || org.result == null ? null : org.result.nodeId,
|
||||||
|
posmasterIdOld = org == null || org.result == null ? null : org.result.posmasterId,
|
||||||
|
rootOld = org == null || org.result == null ? null : org.result.root,
|
||||||
|
rootIdOld = org == null || org.result == null ? null : org.result.rootId,
|
||||||
|
rootShortNameOld = org == null || org.result == null ? null : org.result.rootShortName,
|
||||||
|
child1Old = org == null || org.result == null ? null : org.result.child1,
|
||||||
|
child1IdOld = org == null || org.result == null ? null : org.result.child1Id,
|
||||||
|
child1ShortNameOld = org == null || org.result == null ? null : org.result.child1ShortName,
|
||||||
|
child2Old = org == null || org.result == null ? null : org.result.child2,
|
||||||
|
child2IdOld = org == null || org.result == null ? null : org.result.child2Id,
|
||||||
|
child2ShortNameOld = org == null || org.result == null ? null : org.result.child2ShortName,
|
||||||
|
child3Old = org == null || org.result == null ? null : org.result.child3,
|
||||||
|
child3IdOld = org == null || org.result == null ? null : org.result.child3Id,
|
||||||
|
child3ShortNameOld = org == null || org.result == null ? null : org.result.child3ShortName,
|
||||||
|
child4Old = org == null || org.result == null ? null : org.result.child4,
|
||||||
|
child4IdOld = org == null || org.result == null ? null : org.result.child4Id,
|
||||||
|
child4ShortNameOld = org == null || org.result == null ? null : org.result.child4ShortName,
|
||||||
|
orgRevisionIdOld = org == null || org.result == null ? null : org.result.orgRevisionId,
|
||||||
|
// positionIdOld = org == null || org.result == null ? null : org.result.positionIdOld,
|
||||||
|
posMasterNoOld = org == null || org.result == null ? null : org.result.posMasterNo,
|
||||||
|
positionNameOld = org == null || org.result == null ? null : org.result.position,
|
||||||
|
// positionFieldOld = org == null || org.result == null ? null : org.result.positionFieldOld,
|
||||||
|
posTypeIdOld = org == null || org.result == null ? null : org.result.posTypeId,
|
||||||
|
posTypeNameOld = org == null || org.result == null ? null : org.result.posTypeName,
|
||||||
|
posLevelIdOld = org == null || org.result == null ? null : org.result.posLevelId,
|
||||||
|
posLevelNameOld = org == null || org.result == null ? null : org.result.posLevelName,
|
||||||
};
|
};
|
||||||
await _contextMetadata.PlacementProfiles.AddAsync(placementProfile);
|
await _contextMetadata.PlacementProfiles.AddAsync(placementProfile);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue