คำสั่ง 22 เพิ่มครั้งที่
This commit is contained in:
parent
cc711146c5
commit
6cfe02a2e0
8 changed files with 17021 additions and 2 deletions
|
|
@ -2850,7 +2850,7 @@ namespace BMA.EHR.Command.Service.Controllers
|
|||
[ProducesResponseType(StatusCodes.Status200OK)]
|
||||
[ProducesResponseType(StatusCodes.Status401Unauthorized)]
|
||||
[ProducesResponseType(StatusCodes.Status500InternalServerError)]
|
||||
public async Task<ActionResult<ResponseObject>> PostType24Async([FromBody] CreateCommandGroup0Request req)
|
||||
public async Task<ActionResult<ResponseObject>> PostType24Async([FromBody] CreateCommandGroup12Request req)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
@ -2869,6 +2869,9 @@ namespace BMA.EHR.Command.Service.Controllers
|
|||
|
||||
CommandAffectDate = req.orderDate,
|
||||
OwnerGovId = OcId,
|
||||
|
||||
ConclusionTranferNo = req.conclusionTranferNo,
|
||||
ConclusionTranferDate = req.conclusionTranferDate,
|
||||
};
|
||||
|
||||
var result = await _repository.AddAsync(inserted);
|
||||
|
|
@ -2893,7 +2896,7 @@ namespace BMA.EHR.Command.Service.Controllers
|
|||
[ProducesResponseType(StatusCodes.Status200OK)]
|
||||
[ProducesResponseType(StatusCodes.Status401Unauthorized)]
|
||||
[ProducesResponseType(StatusCodes.Status500InternalServerError)]
|
||||
public async Task<ActionResult<ResponseObject>> PutType24Async(Guid orderId, [FromBody] CreateCommandGroup0Request req)
|
||||
public async Task<ActionResult<ResponseObject>> PutType24Async(Guid orderId, [FromBody] CreateCommandGroup12Request req)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
@ -2915,6 +2918,8 @@ namespace BMA.EHR.Command.Service.Controllers
|
|||
order.AuthorizedPosition = req.signatoryPosition;
|
||||
order.CommandStatus = status!;
|
||||
order.CommandAffectDate = req.orderDate;
|
||||
order.ConclusionTranferNo = req.conclusionTranferNo;
|
||||
order.ConclusionTranferDate = req.conclusionTranferDate;
|
||||
|
||||
var result = await _repository.UpdateAsync(order);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue