no message
This commit is contained in:
parent
ddb541c819
commit
560cdae209
2 changed files with 5 additions and 5 deletions
|
|
@ -998,7 +998,7 @@ namespace BMA.EHR.Application.Repositories.Reports
|
|||
.ToListAsync();
|
||||
foreach (var insigniaPeriod in insigniaPeriods)
|
||||
{
|
||||
if (insigniaPeriod.EndDate.Date.AddDays(5) == DateTime.Now.Date)
|
||||
if (insigniaPeriod.EndDate.Date.AddDays(5) < DateTime.Now.Date)
|
||||
continue;
|
||||
insigniaPeriod.IsLock = true;
|
||||
var insigniaNote = await _dbContext.Set<InsigniaNote>()
|
||||
|
|
|
|||
|
|
@ -719,10 +719,10 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
.Include(x => x.OrganizationPosition)
|
||||
.Include(x => x.PositionNumber)
|
||||
.Include(x => x.PositionPath)
|
||||
.Include(x => x.PositionLevel)
|
||||
// .Include(x => x.PositionLevel)
|
||||
.Include(x => x.PositionLine)
|
||||
.Include(x => x.PositionPathSide)
|
||||
.Include(x => x.PositionType)
|
||||
// .Include(x => x.PositionType)
|
||||
.FirstOrDefaultAsync(x => x.Id == req.PersonalId);
|
||||
if (person == null)
|
||||
return Error(GlobalMessages.DataNotFound, 404);
|
||||
|
|
@ -1246,10 +1246,10 @@ namespace BMA.EHR.Placement.Service.Controllers
|
|||
.Include(x => x.OrganizationPosition)
|
||||
.Include(x => x.PositionNumber)
|
||||
.Include(x => x.PositionPath)
|
||||
.Include(x => x.PositionLevel)
|
||||
// .Include(x => x.PositionLevel)
|
||||
.Include(x => x.PositionLine)
|
||||
.Include(x => x.PositionPathSide)
|
||||
.Include(x => x.PositionType)
|
||||
// .Include(x => x.PositionType)
|
||||
.FirstOrDefaultAsync(x => x.Id == personalId);
|
||||
if (profile == null)
|
||||
return Error(GlobalMessages.DataNotFound, 404);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue