This commit is contained in:
parent
757035a4b0
commit
d3be22cfbd
4 changed files with 18 additions and 17 deletions
|
|
@ -170,8 +170,8 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
|
|||
.Where(x =>
|
||||
(!req.disciplinaryDateStart.HasValue || !req.disciplinaryDateEnd.HasValue ||
|
||||
(x.DisciplinaryDateStart.HasValue && x.DisciplinaryDateEnd.HasValue &&
|
||||
x.DisciplinaryDateStart.Value.Date >= req.disciplinaryDateStart.Value.Date &&
|
||||
x.DisciplinaryDateEnd.Value.Date <= req.disciplinaryDateEnd.Value.Date))
|
||||
x.DisciplinaryDateStart.Value.Date <= req.disciplinaryDateStart.Value.Date &&
|
||||
x.DisciplinaryDateEnd.Value.Date >= req.disciplinaryDateEnd.Value.Date))
|
||||
&&
|
||||
(string.IsNullOrEmpty(req.respondentType) || x.RespondentType == req.respondentType)
|
||||
&&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue