Merge branch 'develop' of github.com:Frappet/BMA-EHR-BackEnd into develop

This commit is contained in:
kittapath 2024-12-26 15:03:12 +07:00
commit 3bc9ee2c94

View file

@ -727,7 +727,7 @@ namespace BMA.EHR.Placement.Service.Controllers
.FirstOrDefaultAsync(x => x.Id == req.PersonalId);
if (person == null)
return Error(GlobalMessages.DataNotFound, 404);
bool? _nullBool = null;
person.OrganizationPosition = null;
person.PositionNumber = null;
person.PositionPath = null;
@ -762,7 +762,7 @@ namespace BMA.EHR.Placement.Service.Controllers
person.child4ShortName = null;
person.orgRevisionId = null;
person.posMasterNo = null;
person.positionName = null;
//person.positionName = null;
person.positionField = null;
person.posTypeId = null;
person.posTypeName = null;
@ -772,7 +772,7 @@ namespace BMA.EHR.Placement.Service.Controllers
person.nodeId = null;
person.posmasterId = null;
person.positionId = null;
person.Draft = false;
person.Draft = _nullBool;
person.typeCommand = null;
await _context.SaveChangesAsync();