Commit a284586e8d8b000b6c8dbc4ca84bfd4a29d34c42

Authored by jiangjiazhi
1 parent 3f8ef09080

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
... ... @@ -26,7 +26,7 @@
26 26 return /*filter(*/level/*)*/;
27 27 }
28 28  
29   - public List filter(List<java.util.Map> level){
  29 + public static List filter(List<java.util.Map> level){
30 30 List list = new ArrayList();
31 31 List addEdList = new ArrayList();
32 32 for(java.util.Map map :level){
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());