migrate + add field PositionExecutiveOld
This commit is contained in:
parent
71a1c48392
commit
1b6cc4f014
20 changed files with 20131 additions and 1 deletions
|
|
@ -117,6 +117,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
p.positionId,
|
||||
p.posMasterNo,
|
||||
p.position,
|
||||
p.PositionExecutive,
|
||||
p.positionField,
|
||||
p.posTypeId,
|
||||
p.posTypeName,
|
||||
|
|
@ -165,6 +166,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
p.OrganizationOld,
|
||||
p.posmasterId,
|
||||
p.positionOld,
|
||||
p.PositionExecutiveOld,
|
||||
p.CreatedAt,
|
||||
p.typeCommand,
|
||||
})
|
||||
|
|
@ -226,6 +228,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
p.positionId,
|
||||
p.posMasterNo,
|
||||
p.position,
|
||||
p.PositionExecutive,
|
||||
p.positionField,
|
||||
p.posTypeId,
|
||||
p.posTypeName,
|
||||
|
|
@ -269,6 +272,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
p.AmountOld,
|
||||
p.OrganizationOld,
|
||||
p.positionOld,
|
||||
p.PositionExecutiveOld,
|
||||
p.typeCommand,
|
||||
p.posmasterId,
|
||||
})
|
||||
|
|
@ -362,7 +366,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// สร้างแต่งตั้ง-เลื่อน
|
||||
/// สร้างแต่งตั้ง-เลื่อน-ย้าย
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
/// <response code="200"></response>
|
||||
|
|
@ -448,6 +452,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
// placementAppointment.AmountOld = profile.Salaries.Count() == 0 ? null : profile.Salaries.OrderByDescending(x => x.Order).FirstOrDefault().Amount;
|
||||
|
||||
placementAppointment.positionOld = org.result.position;
|
||||
placementAppointment.PositionExecutiveOld = org.result.posExecutiveName;
|
||||
placementAppointment.PositionLevelOld = org.result.posLevelName;
|
||||
placementAppointment.PositionTypeOld = org.result.posTypeName;
|
||||
placementAppointment.PositionNumberOld = org.result.nodeShortName + org.result.posMasterNo;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue