Commit 02b67812c7aab0e28af4615e770c5e1cc6573ec5
1 parent
673f46a6e9
Exists in
master
and in
1 other branch
update code
Showing 1 changed file with 2 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java
View file @
02b6781
| ... | ... | @@ -502,13 +502,14 @@ |
| 502 | 502 | |
| 503 | 503 | if (riskPatientsQueryRequest.getFmWeekStart() != null) |
| 504 | 504 | { |
| 505 | - int start = org.apache.commons.lang.math.NumberUtils.toInt(riskPatientsQueryRequest.getFmWeekStart(), 0); | |
| 505 | + int start = org.apache.commons.lang.math.NumberUtils.toInt(riskPatientsQueryRequest.getFmWeekStart(), 0)*7; | |
| 506 | 506 | patientsQuery.setFmWeekStart(start); |
| 507 | 507 | } |
| 508 | 508 | |
| 509 | 509 | if (riskPatientsQueryRequest.getFmWeekEnd() != null) |
| 510 | 510 | { |
| 511 | 511 | int end = org.apache.commons.lang.math.NumberUtils.toInt(riskPatientsQueryRequest.getFmWeekEnd(), 0)+1; |
| 512 | + end = end * 7; | |
| 512 | 513 | patientsQuery.setFmWeekEnd(end); |
| 513 | 514 | } |
| 514 | 515 |