เพิ่ม user ใน บรรจุ
This commit is contained in:
parent
d5ffd5cb08
commit
824c8267ef
24 changed files with 45466 additions and 16 deletions
|
|
@ -122,6 +122,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
.Select(p => new
|
||||
{
|
||||
p.Id,
|
||||
ProfileId = p.Profile.Id,
|
||||
p.CitizenId,
|
||||
Prefix = p.Prefix == null ? null : p.Prefix.Name,
|
||||
PrefixId = p.Prefix == null ? Guid.Parse("00000000-0000-0000-0000-000000000000") : p.Prefix.Id,
|
||||
|
|
@ -173,6 +174,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
var _data = new
|
||||
{
|
||||
data.Id,
|
||||
data.ProfileId,
|
||||
data.CitizenId,
|
||||
data.Prefix,
|
||||
data.PrefixId,
|
||||
|
|
@ -237,6 +239,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
|
||||
var placementAppointment = new PlacementAppointment
|
||||
{
|
||||
Profile = profile,
|
||||
CitizenId = profile.CitizenId,
|
||||
Prefix = profile.Prefix,
|
||||
Firstname = profile.FirstName,
|
||||
|
|
|
|||
|
|
@ -73,7 +73,8 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
p.Organization,
|
||||
p.Reason,
|
||||
p.Status,
|
||||
p.Date,
|
||||
p.DateStart,
|
||||
p.DateEnd,
|
||||
salary = p.AmountOld,
|
||||
p.PositionTypeOld,
|
||||
p.PositionLevelOld,
|
||||
|
|
@ -118,7 +119,8 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
p.Reason,
|
||||
p.Status,
|
||||
p.Organization,
|
||||
p.Date,
|
||||
p.DateStart,
|
||||
p.DateEnd,
|
||||
salary = p.AmountOld,
|
||||
p.CreatedAt,
|
||||
p.PositionTypeOld,
|
||||
|
|
@ -202,7 +204,8 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
uppdated.AmountOld = req.AmountOld;
|
||||
uppdated.Organization = req.Organization;
|
||||
uppdated.Reason = req.Reason;
|
||||
uppdated.Date = req.Date;
|
||||
uppdated.DateStart = req.DateStart;
|
||||
uppdated.DateEnd = req.DateEnd;
|
||||
uppdated.LastUpdateFullName = FullName ?? "System Administrator";
|
||||
uppdated.LastUpdateUserId = UserId ?? "";
|
||||
uppdated.LastUpdatedAt = DateTime.Now;
|
||||
|
|
|
|||
|
|
@ -121,6 +121,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
.Select(p => new
|
||||
{
|
||||
p.Id,
|
||||
ProfileId = p.Profile.Id,
|
||||
p.CitizenId,
|
||||
Prefix = p.Prefix.Name,
|
||||
PrefixId = p.Prefix.Id,
|
||||
|
|
@ -171,6 +172,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
var _data = new
|
||||
{
|
||||
data.Id,
|
||||
data.ProfileId,
|
||||
data.CitizenId,
|
||||
data.Prefix,
|
||||
data.PrefixId,
|
||||
|
|
@ -236,6 +238,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
|
||||
var placementReceive = new PlacementReceive
|
||||
{
|
||||
Profile = profile,
|
||||
CitizenId = req.CitizenId,
|
||||
Prefix = prefix,
|
||||
Firstname = req.Firstname,
|
||||
|
|
|
|||
|
|
@ -121,6 +121,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
.Select(p => new
|
||||
{
|
||||
p.Id,
|
||||
ProfileId = p.Profile.Id,
|
||||
p.CitizenId,
|
||||
Prefix = p.Prefix == null ? null : p.Prefix.Name,
|
||||
PrefixId = p.Prefix == null ? Guid.Parse("00000000-0000-0000-0000-000000000000") : p.Prefix.Id,
|
||||
|
|
@ -171,6 +172,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
var _data = new
|
||||
{
|
||||
data.Id,
|
||||
data.ProfileId,
|
||||
data.CitizenId,
|
||||
data.Prefix,
|
||||
data.PrefixId,
|
||||
|
|
@ -234,6 +236,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
|
||||
var placementRelocation = new PlacementRelocation
|
||||
{
|
||||
Profile = profile,
|
||||
CitizenId = profile.CitizenId,
|
||||
Prefix = profile.Prefix,
|
||||
Firstname = profile.FirstName,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue