Commit a284586e8d8b000b6c8dbc4ca84bfd4a29d34c42
1 parent
3f8ef09080
Exists in
master
and in
1 other branch
commit
Showing 3 changed files with 3 additions and 5 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/HighScoreResult.java
View file @
a284586
platform-operate-api/src/main/java/com/lyms/platform/operate/web/worker/QuanPatientWorker.java
View file @
a284586
| ... | ... | @@ -169,8 +169,7 @@ |
| 169 | 169 | } catch (Exception e) { |
| 170 | 170 | ExceptionUtils.catchException(e, "patients.getRiskLevelId error."); |
| 171 | 171 | } |
| 172 | - HighScoreResult highScoreResult=new HighScoreResult(); | |
| 173 | - quanPatientsResult.setrLevel(highScoreResult.filter(level)); | |
| 172 | + quanPatientsResult.setrLevel(HighScoreResult.filter(level)); | |
| 174 | 173 | } |
| 175 | 174 | data.add(quanPatientsResult); |
| 176 | 175 | logger.debug(stopWatch.toString()); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/worker/WorkHR.java
View file @
a284586
| ... | ... | @@ -177,8 +177,7 @@ |
| 177 | 177 | } catch (Exception e) { |
| 178 | 178 | ExceptionUtils.catchException(e, "patients.getRiskLevelId error."); |
| 179 | 179 | } |
| 180 | - HighScoreResult highScoreResult=new HighScoreResult(); | |
| 181 | - riskPatientsResult.setrLevel(highScoreResult.filter(level)); | |
| 180 | + riskPatientsResult.setrLevel(HighScoreResult.filter(level)); | |
| 182 | 181 | } |
| 183 | 182 | |
| 184 | 183 | riskPatientsResult.sethScore(patients.getRiskScore()); |