แก้บันทึกและแก้ไขเลขที่คำสั่ง จาก int to str

This commit is contained in:
Suphonchai Phoonsawat 2023-08-18 14:23:11 +07:00
parent cc902536d6
commit 8ee7dc94a2
3 changed files with 5 additions and 9 deletions

View file

@ -381,7 +381,7 @@ namespace BMA.EHR.Command.Service.Controllers
{
var inserted = new Domain.Models.Commands.Core.Command
{
CommandNo = req.orderNo.ToString(),
CommandNo = req.orderNo,
CommandYear = req.orderYear.ToString(),
CommandSubject = req.orderTitle,
PositionName = req.registerPosition,
@ -433,7 +433,7 @@ namespace BMA.EHR.Command.Service.Controllers
var commandType = await _commandTypeRepository.GetByIdAsync(req.orderTypeValue);
var status = await _commandStatusRepository.GetByIdAsync(order.CommandStatusId);
order.CommandNo = req.orderNo.ToString();
order.CommandNo = req.orderNo;
order.CommandYear = req.orderYear.ToString();
order.CommandSubject = req.orderTitle;
order.PositionName = req.registerPosition;