แก้บั้กออกคำสั่งบรรจุ

This commit is contained in:
Suphonchai Phoonsawat 2023-08-20 11:07:18 +07:00
parent 7d88274dae
commit 99485f64e0
4 changed files with 33 additions and 10 deletions

View file

@ -270,7 +270,8 @@ namespace BMA.EHR.Command.Service.Controllers
FiscalYear = d.CommandYear,
OrderDate = d.CommandAffectDate,
OrderByOrganization = d.IssuerOrganizationName,
OrderBy = d.IssuerOrganizationId,
OrderBy = d.IssuerOrganizationName,
OrderById = d.IssuerOrganizationId,
signatoryBy = d.AuthorizedUserFullName,
signatoryPosition = d.AuthorizedPosition,
OrderStatusValue = d.CommandStatusId,
@ -387,6 +388,7 @@ namespace BMA.EHR.Command.Service.Controllers
PositionName = req.registerPosition,
CommandTypeId = req.orderTypeValue,
IssuerOrganizationId = req.orderBy,
IssuerOrganizationName = req.orderByOrganizationName,
AuthorizedUserFullName = req.signatoryBy,
AuthorizedPosition = req.signatoryPosition,
PlacementId = req.examRound,
@ -439,6 +441,7 @@ namespace BMA.EHR.Command.Service.Controllers
order.PositionName = req.registerPosition;
order.CommandType = commandType!;
order.IssuerOrganizationId = req.orderBy;
order.IssuerOrganizationName = req.orderByOrganizationName;
order.AuthorizedUserFullName = req.signatoryBy;
order.AuthorizedPosition = req.signatoryPosition;
order.Placement = placement!;