แก้ไฟล์ deploy
This commit is contained in:
parent
4b07fe7409
commit
a95a36e454
4 changed files with 403 additions and 342 deletions
|
|
@ -496,7 +496,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
public async Task UpdateDocAsync(string examId, IFormFileCollection files)
|
||||
{
|
||||
var periodExam = await _context.PeriodExams.AsQueryable()
|
||||
.Where(x => x.CheckDisability == false)
|
||||
// .Where(x => x.CheckDisability == false)
|
||||
.FirstOrDefaultAsync(x => x.Id == Guid.Parse(examId));
|
||||
|
||||
if (periodExam == null)
|
||||
|
|
@ -527,7 +527,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
public async Task UpdateImgAsync(string examId, IFormFileCollection files)
|
||||
{
|
||||
var periodExam = await _context.PeriodExams.AsQueryable()
|
||||
.Where(x => x.CheckDisability == false)
|
||||
// .Where(x => x.CheckDisability == false)
|
||||
.FirstOrDefaultAsync(x => x.Id == Guid.Parse(examId));
|
||||
|
||||
if (periodExam == null)
|
||||
|
|
@ -563,7 +563,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
public async Task DeleteAsyncDocument(string examId, string documentId)
|
||||
{
|
||||
var exam = await _context.PeriodExams.AsQueryable()
|
||||
.Where(x => x.CheckDisability == false)
|
||||
// .Where(x => x.CheckDisability == false)
|
||||
.Include(x => x.PositionExam)
|
||||
.FirstOrDefaultAsync(x => x.Id == Guid.Parse(examId));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue