updata next step

This commit is contained in:
kittapath 2024-11-14 18:24:06 +07:00
parent b06c128ca2
commit c18d9a392a
4 changed files with 5 additions and 4 deletions

View file

@ -551,7 +551,7 @@ namespace BMA.EHR.Placement.Service.Controllers
{
posMasterOldId = uppdated.posmasterId,
posMasterId = req.posmasterId,
profileId = req.profileId,
profileId = uppdated.profileId,
});
}
uppdated.typeCommand = req.typeCommand == null ? null : req.typeCommand.Trim().ToUpper();

View file

@ -583,7 +583,7 @@ namespace BMA.EHR.Placement.Service.Controllers
{
posMasterOldId = uppdated.posmasterId,
posMasterId = req.posmasterId,
profileId = req.profileId,
profileId = uppdated.profileId,
});
}
uppdated.typeCommand = req.typeCommand == null ? null : req.typeCommand.Trim().ToUpper();

View file

@ -14,6 +14,7 @@ using System.Security.Claims;
using System.Net.Http.Headers;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using static Microsoft.EntityFrameworkCore.DbLoggerCategory;
namespace BMA.EHR.Placement.Service.Controllers
{
@ -893,7 +894,7 @@ namespace BMA.EHR.Placement.Service.Controllers
var _resUpdate = await client.PostAsJsonAsync(apiUrlUpdate, new
{
posMasterId = req.posmasterId,
profileId = req.profileId,
profileId = person.profileId,
});
}
person.Draft = false;

View file

@ -652,7 +652,7 @@ namespace BMA.EHR.Placement.Service.Controllers
{
posMasterOldId = uppdated.posmasterId,
posMasterId = req.posmasterId,
profileId = req.profileId,
profileId = uppdated.profileId,
});
}
uppdated.posmasterId = req.posmasterId;