Add Field to Command Table
This commit is contained in:
parent
9a2e487d8d
commit
297b1efb57
6 changed files with 12061 additions and 1 deletions
|
|
@ -297,7 +297,16 @@ namespace BMA.EHR.Command.Service.Controllers
|
|||
{
|
||||
try
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
var receivers = await _repository.GetReceiverByCommmandIdAsync(orderId);
|
||||
if (receivers.Count() > 0)
|
||||
{
|
||||
return Success(receivers);
|
||||
}
|
||||
else
|
||||
{
|
||||
// ไม่เจอข้อมูลไปอ่านจากระบบสรรหาที่สง้รายชื่อมาแล้ว insert
|
||||
return Success();
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue