Merge branch 'develop' of github.com:Frappet/BMA-EHR-BackEnd into develop
This commit is contained in:
commit
3bc9ee2c94
1 changed files with 3 additions and 3 deletions
|
|
@ -727,7 +727,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
||||||
.FirstOrDefaultAsync(x => x.Id == req.PersonalId);
|
.FirstOrDefaultAsync(x => x.Id == req.PersonalId);
|
||||||
if (person == null)
|
if (person == null)
|
||||||
return Error(GlobalMessages.DataNotFound, 404);
|
return Error(GlobalMessages.DataNotFound, 404);
|
||||||
|
bool? _nullBool = null;
|
||||||
person.OrganizationPosition = null;
|
person.OrganizationPosition = null;
|
||||||
person.PositionNumber = null;
|
person.PositionNumber = null;
|
||||||
person.PositionPath = null;
|
person.PositionPath = null;
|
||||||
|
|
@ -762,7 +762,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
||||||
person.child4ShortName = null;
|
person.child4ShortName = null;
|
||||||
person.orgRevisionId = null;
|
person.orgRevisionId = null;
|
||||||
person.posMasterNo = null;
|
person.posMasterNo = null;
|
||||||
person.positionName = null;
|
//person.positionName = null;
|
||||||
person.positionField = null;
|
person.positionField = null;
|
||||||
person.posTypeId = null;
|
person.posTypeId = null;
|
||||||
person.posTypeName = null;
|
person.posTypeName = null;
|
||||||
|
|
@ -772,7 +772,7 @@ namespace BMA.EHR.Placement.Service.Controllers
|
||||||
person.nodeId = null;
|
person.nodeId = null;
|
||||||
person.posmasterId = null;
|
person.posmasterId = null;
|
||||||
person.positionId = null;
|
person.positionId = null;
|
||||||
person.Draft = false;
|
person.Draft = _nullBool;
|
||||||
person.typeCommand = null;
|
person.typeCommand = null;
|
||||||
await _context.SaveChangesAsync();
|
await _context.SaveChangesAsync();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue