Commit 21d317531cfeb03e4dcf0000e3e1e7152e90e580
1 parent
2cf3204eb2
Exists in
master
and in
1 other branch
修改新电子病历
Showing 1 changed file with 13 additions and 0 deletions
platform-dal/src/main/java/com/lyms/platform/query/ReferralApplyOrderQuery.java
View file @
21d3175
... | ... | @@ -359,6 +359,19 @@ |
359 | 359 | } |
360 | 360 | isAddStart = Boolean.TRUE; |
361 | 361 | } |
362 | + if (null != transferredStart) { | |
363 | + c = Criteria.where("created").gte(transferredStart); | |
364 | + isAddStart = Boolean.TRUE; | |
365 | + } | |
366 | + | |
367 | + if (null != transferredEnd) { | |
368 | + if (isAddStart) { | |
369 | + c = c.lte(transferredEnd); | |
370 | + } else { | |
371 | + c = Criteria.where("created").lte(transferredEnd); | |
372 | + } | |
373 | + isAddStart = Boolean.TRUE; | |
374 | + } | |
362 | 375 | |
363 | 376 | |
364 | 377 |